Fixed USB_RemoteWakeupEnabled flag never being set (the REMOTE WAKEUP Set Feature request was not being handled).
Renamed the FEATURELESS_CONTROL_ONLY_DEVICE compile-time token to CONTROL_ONLY_DEVICE.
This commit is contained in:
parent
9cec85bfd9
commit
c20a94a4e8
19 changed files with 116 additions and 73 deletions
|
@ -129,11 +129,11 @@ EVENT_HANDLER(USB_UnhandledControlPacket)
|
|||
{
|
||||
USB_JoystickReport_Data_t JoystickReportData;
|
||||
|
||||
Endpoint_ClearSETUP();
|
||||
|
||||
/* Create the next HID report to send to the host */
|
||||
GetNextReport(&JoystickReportData);
|
||||
|
||||
Endpoint_ClearSETUP();
|
||||
|
||||
|
||||
/* Write the report data to the control endpoint */
|
||||
Endpoint_Write_Control_Stream_LE(&JoystickReportData, sizeof(JoystickReportData));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue