mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-04 14:55:29 +00:00
Fixed USB_CurrentMode not being reset to USB_MODE_NONE when the USB interface is shut down and both Host and Device modes can be used (thanks to Daniel Levy).
This commit is contained in:
@@ -125,7 +125,7 @@ void USB_ShutDown(void)
|
||||
|
||||
USB_IsInitialized = false;
|
||||
|
||||
#if defined(CAN_BE_BOTH)
|
||||
#if defined(USB_CAN_BE_BOTH)
|
||||
USB_CurrentMode = USB_MODE_NONE;
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user