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:
parent
59ed10273c
commit
d3f11eb528
6 changed files with 18 additions and 13 deletions
|
@ -77,8 +77,6 @@ void EVENT_USB_Device_ConfigurationChanged(void)
|
|||
|
||||
if (!(MS_Device_ConfigureEndpoints(&DiskDevice_MS_Interface)))
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
||||
|
||||
pf_mount(&DiskFATState);
|
||||
}
|
||||
|
||||
/** Event handler for the library USB Unhandled Control Request event. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue