mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-22 00:14:38 +00:00
fix plover hid updates
This commit is contained in:
parent
3c45934a1d
commit
7103b01bc7
1 changed files with 1 additions and 2 deletions
|
@ -237,17 +237,16 @@ void plover_hid_task(void) {
|
|||
|
||||
Endpoint_SelectEndpoint(PLOVER_HID_IN_EPNUM);
|
||||
|
||||
// Check to see if the host is ready to accept another packet
|
||||
if (Endpoint_IsINReady()) {
|
||||
// Write data
|
||||
Endpoint_Write_Stream_LE(plover_hid_current_report, PLOVER_HID_SIMPLE_REPORT_SIZE, NULL);
|
||||
// Finalize The stream transfer to send the last packet
|
||||
Endpoint_ClearIN();
|
||||
plover_hid_report_updated = false;
|
||||
}
|
||||
|
||||
Endpoint_SelectEndpoint(ep);
|
||||
|
||||
plover_hid_report_updated = false;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue