]> cvs.zerfleddert.de Git - hmcfgusb/blobdiff - firmware.c
ETIMEDOUT is not a fatal error
[hmcfgusb] / firmware.c
index bd13dbe2fb3bbf3b0085347b5ac5003967445260..ff4c8bece316181327e3b140d2507175f2d8376c 100644 (file)
@@ -119,7 +119,6 @@ struct firmware* firmware_read_firmware(char *filename, int debug)
                len |= (ascii_to_nibble(buf[2]) & 0xf)<< 4;
                len |= ascii_to_nibble(buf[3]) & 0xf;
 
-               /* This might be wrong, but it works for current fw->fw */
                if (len > MAX_BLOCK_LENGTH) {
                        fprintf(stderr, "Invalid block-length %u > %u for block %d!\n", len, MAX_BLOCK_LENGTH, fw->fw_blocks+1);
                        exit(EXIT_FAILURE);
Impressum, Datenschutz