forked from mfulz_github/qmk_firmware
Fix to HID device mode Class driver, so that new reports are compared against the old, and updated reports made within the idle period are sent immediately to the host.
This commit is contained in:
1 parent
ec079c71d8
commit
72932e2780
9 files changed
+30
-32
No files matched your search
@@ -91,7 +91,7 @@ int main(void)
|
||||
for (;;)
|
||||
{
|
||||
CheckJoystickMovement();
|
||||
|
||||
|
||||
/* Must throw away unused bytes from the host, or it will lock up while waiting for the device */
|
||||
while (CDC_Device_BytesReceived(&VirtualSerial_CDC_Interface))
|
||||
CDC_Device_ReceiveByte(&VirtualSerial_CDC_Interface);
|
||||
|
||||
Reference in new issue
Block a user