diff --git a/Makefile b/Makefile index 72d3974..b7e3c37 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ BOARD_REVISION_MAJOR ?= 1 BOARD_REVISION_MINOR ?= 4 VERSION_MAJOR = 1 -VERSION_MINOR = 0 +VERSION_MINOR = 1 CROSS=arm-none-eabi- diff --git a/usb.c b/usb.c index 9518a05..1b15eab 100644 --- a/usb.c +++ b/usb.c @@ -259,7 +259,7 @@ char *get_serial_number_string(void) } bitsLeft -= 5; int index = (buffer >> bitsLeft) & 0x1f; - buf[count] = index + (index < 26 ? 'A' : '2'); // Base32 + buf[count] = index + (index < 26 ? 'A' : '2' - 26); // Base32 } return buf;