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.
This commit is contained in:
@@ -84,7 +84,7 @@ int main(void)
|
||||
}
|
||||
|
||||
if (MS_Host_ConfigurePipes(&FlashDisk_MS_Interface,
|
||||
ConfigDescriptorSize, ConfigDescriptorData) != MS_ENUMERROR_NoError)
|
||||
ConfigDescriptorSize, ConfigDescriptorData) != MS_ENUMERROR_NoError)
|
||||
{
|
||||
printf("Attached Device Not a Valid Mass Storage Device.\r\n");
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
||||
|
||||
Reference in New Issue
Block a user