Make Benito ping-pong LED code more explicit, using masks of the TX and RX LED masks for ping-pong toggle rather than the ambiguous LED "Busy" mask.
Fix incorrect event name in MassStorageHost.c.
This commit is contained in:
parent
33a5715e91
commit
85c2716f2d
4 changed files with 12 additions and 9 deletions
|
@ -103,7 +103,7 @@ void EVENT_USB_Host_DeviceEnumerationComplete(void)
|
|||
}
|
||||
|
||||
/** Event handler for the USB_HostError event. This indicates that a hardware error occurred while in host mode. */
|
||||
void EVENT_USB_HostError(const uint8_t ErrorCode)
|
||||
void EVENT_USB_Host_HostError(const uint8_t ErrorCode)
|
||||
{
|
||||
USB_ShutDown();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue