From 6f0eed022c6babeb5cd2b1b22aa9c1fd301aa3bf Mon Sep 17 00:00:00 2001 From: Louis Beaudoin Date: Thu, 6 Jun 2013 16:42:53 +0800 Subject: some small mistakes I noticed while going through the code with a fine-toothed comb: main.c - POSTSCRIPT_SIZE should be 6, not 4, now that there's a word to store OSCCAL micronucleus_lib.c - bcdUSB referring to USB Spec 1.1 is used, instead of bcdDevice, referring to the device release number --- firmware/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/main.c') diff --git a/firmware/main.c b/firmware/main.c index 6e39cfa..e56de62 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -70,7 +70,7 @@ static void leaveBootloader() __attribute__((__noreturn__)); //////// Stuff Bluebie Added // postscript are the few bytes at the end of programmable memory which store tinyVectors // and used to in USBaspLoader-tiny85 store the checksum iirc -#define POSTSCRIPT_SIZE 4 +#define POSTSCRIPT_SIZE 6 #define PROGMEM_SIZE (BOOTLOADER_ADDRESS - POSTSCRIPT_SIZE) /* max size of user program */ // verify the bootloader address aligns with page size -- cgit v1.2.3