diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-03-09 09:17:42 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-03-09 09:17:42 +0000 |
commit | d5d9ff73e5216969aaa2915de3fa04f530ffe400 (patch) | |
tree | 624a3cf7c69344ecbdc4d9a414d486d1d683c91f /Bootloaders/Incomplete/MassStorage/Lib | |
parent | 0f0f9638a30d4267db80f235a7f3e4883a1d9f9d (diff) | |
download | lufa-d5d9ff73e5216969aaa2915de3fa04f530ffe400.tar.gz lufa-d5d9ff73e5216969aaa2915de3fa04f530ffe400.tar.bz2 lufa-d5d9ff73e5216969aaa2915de3fa04f530ffe400.zip |
Remove debug code from the incomplete Mass Storage class bootloader, rename main source files.
Diffstat (limited to 'Bootloaders/Incomplete/MassStorage/Lib')
-rw-r--r-- | Bootloaders/Incomplete/MassStorage/Lib/SCSI.h | 2 | ||||
-rw-r--r-- | Bootloaders/Incomplete/MassStorage/Lib/VirtualFAT.c | 7 |
2 files changed, 1 insertions, 8 deletions
diff --git a/Bootloaders/Incomplete/MassStorage/Lib/SCSI.h b/Bootloaders/Incomplete/MassStorage/Lib/SCSI.h index bec1c962d..54914f5eb 100644 --- a/Bootloaders/Incomplete/MassStorage/Lib/SCSI.h +++ b/Bootloaders/Incomplete/MassStorage/Lib/SCSI.h @@ -42,7 +42,7 @@ #include <LUFA/Drivers/USB/USB.h> - #include "../MassStorage.h" + #include "../BootloaderMassStorage.h" #include "../Descriptors.h" #include "VirtualFAT.h" diff --git a/Bootloaders/Incomplete/MassStorage/Lib/VirtualFAT.c b/Bootloaders/Incomplete/MassStorage/Lib/VirtualFAT.c index d43ac86cb..24df348f0 100644 --- a/Bootloaders/Incomplete/MassStorage/Lib/VirtualFAT.c +++ b/Bootloaders/Incomplete/MassStorage/Lib/VirtualFAT.c @@ -101,7 +101,6 @@ static void WriteBlock(const uint16_t BlockNumber) Endpoint_Read_Stream_LE(BlockBuffer, sizeof(BlockBuffer), NULL); Endpoint_ClearOUT(); - printf("WRITE %d\r\n", BlockNumber); // TODO: Write to FLASH } @@ -139,15 +138,9 @@ static void ReadBlock(const uint16_t BlockNumber) default: if ((BlockNumber >= 4) && (BlockNumber < (4 + (FIRMWARE_FILE_SIZE / SECTOR_SIZE_BYTES)))) { -// printf("<D>\r\n"); - for (uint16_t i = 0; i < 512; i++) BlockBuffer[i] = 'A' + (i % 26); } - else - { - printf("INVALID %d\r\n", BlockNumber); - } break; } |