diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-03-10 19:53:48 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-03-10 19:53:48 +0000 |
commit | 68c317c4e9b54843fdafa5b0ab1eb19e8ffc37c3 (patch) | |
tree | 7881f2e51e0a0d06ab06db6014958399d1e7c533 /Bootloaders/MassStorage/Lib/VirtualFAT.h | |
parent | de9d05f32a8f6ea8e10f601bcbb0bcbcea0975d1 (diff) | |
download | lufa-68c317c4e9b54843fdafa5b0ab1eb19e8ffc37c3.tar.gz lufa-68c317c4e9b54843fdafa5b0ab1eb19e8ffc37c3.tar.bz2 lufa-68c317c4e9b54843fdafa5b0ab1eb19e8ffc37c3.zip |
Fix off-by-one error in the Mass Storage bootloader file size, add missing Volume Label directory entry. Remove incorrect reference to "printer" in the bootloader documentation.
Diffstat (limited to 'Bootloaders/MassStorage/Lib/VirtualFAT.h')
-rw-r--r-- | Bootloaders/MassStorage/Lib/VirtualFAT.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bootloaders/MassStorage/Lib/VirtualFAT.h b/Bootloaders/MassStorage/Lib/VirtualFAT.h index af4548898..16b4b738d 100644 --- a/Bootloaders/MassStorage/Lib/VirtualFAT.h +++ b/Bootloaders/MassStorage/Lib/VirtualFAT.h @@ -39,7 +39,7 @@ /* Macros: */ /** Size of the virtual FIRMWARE.BIN file in bytes. */ - #define FIRMWARE_FILE_SIZE_BYTES (FLASHEND - (FLASHEND - BOOT_START_ADDR) + 1UL) + #define FIRMWARE_FILE_SIZE_BYTES (FLASHEND - (FLASHEND - BOOT_START_ADDR)) /** Number of sectors that comprise a single logical disk cluster. */ #define SECTOR_PER_CLUSTER 4 |