forked from mirror/qmk_firmware
Added new Drivers/USB/LowLevel/Device.c file to house Device mode specific functions that are more complicated than simple macros. Moved USB_Device_SendRemoteWakeup() to the new Device.c source file and corrected it to unfreeze and restart the USB controller clock before issuing a Remote Wakeup request.
Removed the USB_Device_IsRemoteWakeupSent() and USB_Device_IsUSBSuspended() macros, as they are now obsolete.
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
* \section Sec_Dependencies Module Source Dependencies
|
||||
* The following files must be built with any user project that uses this module:
|
||||
* - LUFA/Drivers/USB/LowLevel/DevChapter9.c
|
||||
* - LUFA/Drivers/USB/LowLevel/Device.c
|
||||
* - LUFA/Drivers/USB/LowLevel/Endpoint.c
|
||||
* - LUFA/Drivers/USB/LowLevel/Host.c
|
||||
* - LUFA/Drivers/USB/LowLevel/HostChapter9.c
|
||||
|
||||
Reference in New Issue
Block a user