Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable().
This commit is contained in:
parent
9051d3beb0
commit
43b9d552bb
37 changed files with 40 additions and 39 deletions
|
@ -204,7 +204,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_Host_HostError(const uint8_t ErrorCode)
|
||||
{
|
||||
USB_ShutDown();
|
||||
USB_Disable();
|
||||
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
|
||||
for(;;);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue