diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-03-20 19:02:29 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-03-20 19:02:29 +0000 |
commit | 199cf8f1830ef1a8db14d311d6bfff26b82ef623 (patch) | |
tree | 4c7066af22f99a29827b435636e4f42a2398242b /Bootloaders/MassStorage/Lib/VirtualFAT.h | |
parent | 6e8642185a8db602628ea18e6d03d3f71e8be448 (diff) | |
download | lufa-199cf8f1830ef1a8db14d311d6bfff26b82ef623.tar.gz lufa-199cf8f1830ef1a8db14d311d6bfff26b82ef623.tar.bz2 lufa-199cf8f1830ef1a8db14d311d6bfff26b82ef623.zip |
Significantly reduce the size of the Mass Storage class bootloader, by removing dependencies on large LUFA internal functions.
Diffstat (limited to 'Bootloaders/MassStorage/Lib/VirtualFAT.h')
-rw-r--r-- | Bootloaders/MassStorage/Lib/VirtualFAT.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Bootloaders/MassStorage/Lib/VirtualFAT.h b/Bootloaders/MassStorage/Lib/VirtualFAT.h index 8019691dc..7eacdd952 100644 --- a/Bootloaders/MassStorage/Lib/VirtualFAT.h +++ b/Bootloaders/MassStorage/Lib/VirtualFAT.h @@ -151,11 +151,9 @@ static void ReadVirtualBlock(const uint16_t BlockNumber) AUX_BOOT_SECTION; #endif - void VirtualFAT_WriteBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceInfo, - const uint32_t BlockAddress, + void VirtualFAT_WriteBlocks(const uint16_t BlockAddress, uint16_t TotalBlocks) AUX_BOOT_SECTION; - void VirtualFAT_ReadBlocks(USB_ClassInfo_MS_Device_t* const MSInterfaceInfo, - const uint32_t BlockAddress, + void VirtualFAT_ReadBlocks(const uint16_t BlockAddress, uint16_t TotalBlocks) AUX_BOOT_SECTION; #endif |