mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 17:15:43 +00:00
Renamed all driver termination *_ShutDown() functions to the more logical name *_Disable().
This commit is contained in:
@@ -172,7 +172,7 @@ void ISPTarget_DisableTargetISP(void)
|
||||
{
|
||||
if (HardwareSPIMode)
|
||||
{
|
||||
SPI_ShutDown();
|
||||
SPI_Disable();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -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(;;);
|
||||
|
||||
@@ -163,7 +163,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(;;);
|
||||
|
||||
Reference in New Issue
Block a user