From d3f11eb52809353d7f103cea8b4332f335c26697 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 24 Nov 2009 14:10:28 +0000 Subject: Make the StandaloneProgrammer project seamlessly read out drive contents from either an attached FAT formatted drive when in host mode, or the onboard FAT formatted dataflash when in device mode. --- Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs') diff --git a/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.c b/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.c index b40adf1d8..d46d9b969 100644 --- a/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.c +++ b/Projects/Incomplete/StandaloneProgrammer/Lib/PetiteFATFs/diskio.c @@ -42,7 +42,7 @@ DRESULT disk_readp ( else if (MS_Host_ReadDeviceBlocks(&DiskHost_MS_Interface, 0, sector, 1, 512, BlockTemp)) ErrorCode = RES_ERROR; - printf("BLOCK READ #%lu Ret %d\r\n", sector, MS_Host_ReadDeviceBlocks(&DiskHost_MS_Interface, 0, sector, 1, 512, BlockTemp)); + MS_Host_ReadDeviceBlocks(&DiskHost_MS_Interface, 0, sector, 1, 512, BlockTemp); #endif } else -- cgit v1.2.3