X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/bafd75c9511de5b554fb222331b88518ed2ee96e..bedcaba0bd60f3ae0856fe75bf4c81c2087c0baa:/firmware.c diff --git a/firmware.c b/firmware.c index bd13dbe..ff4c8be 100644 --- a/firmware.c +++ b/firmware.c @@ -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);