mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-04 14:55:29 +00:00
Fixed reversed signature byte ordering in the CDC bootloader (thanks to Johannes Raschke).
This commit is contained in:
@@ -265,11 +265,11 @@
|
||||
* in host mode, and an attached USB device has failed to enumerate completely.
|
||||
*
|
||||
* \param ErrorCode Error code indicating the failure reason, a value in
|
||||
* USB_Host_EnumerationErrorCodes_t located in Host.h.
|
||||
* \ref USB_Host_EnumerationErrorCodes_t located in Host.h.
|
||||
*
|
||||
* \param SubErrorCode Sub error code indicating the reason for failure - for example, if the
|
||||
* ErrorCode parameter indicates a control error, this will give the error
|
||||
* code returned by the USB_Host_SendControlRequest() function.
|
||||
* code returned by the \ref USB_Host_SendControlRequest() function.
|
||||
*
|
||||
* \note This event only exists on USB AVR models which supports host mode.
|
||||
*
|
||||
|
||||
@@ -150,10 +150,10 @@ void USB_ResetInterface(void)
|
||||
USB_INT_DisableAllInterrupts();
|
||||
USB_INT_ClearAllInterrupts();
|
||||
|
||||
USB_IsConnected = false;
|
||||
USB_IsConnected = false;
|
||||
|
||||
#if defined(USB_CAN_BE_HOST)
|
||||
USB_HostState = HOST_STATE_Unattached;
|
||||
USB_HostState = HOST_STATE_Unattached;
|
||||
#endif
|
||||
|
||||
#if defined(USB_CAN_BE_DEVICE)
|
||||
|
||||
Reference in New Issue
Block a user