summaryrefslogtreecommitdiffstats
path: root/firmware/main.c
diff options
context:
space:
mode:
authorLouis Beaudoin <louis@embedded-creations.com>2013-06-06 16:42:53 +0800
committerLouis Beaudoin <louis@embedded-creations.com>2013-06-06 16:46:01 +0800
commit6f0eed022c6babeb5cd2b1b22aa9c1fd301aa3bf (patch)
tree86dcee2d4c6e654302ae0edc49484b9763ec154c /firmware/main.c
parente2a3b426496a6a265908d36ef1cbaf7e1db877ee (diff)
downloadmicronucleus-6f0eed022c6babeb5cd2b1b22aa9c1fd301aa3bf.tar.gz
micronucleus-6f0eed022c6babeb5cd2b1b22aa9c1fd301aa3bf.tar.bz2
micronucleus-6f0eed022c6babeb5cd2b1b22aa9c1fd301aa3bf.zip
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
Diffstat (limited to 'firmware/main.c')
-rw-r--r--firmware/main.c2
1 files changed, 1 insertions, 1 deletions
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