aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/CDC/CDC.c
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2009-07-30 14:35:42 +0000
committerDean Camera <[email protected]>2009-07-30 14:35:42 +0000
commit72932e278000c7086073a28639e3cfae06e39eb3 (patch)
tree8fd1350e0f1029cdd0dd0ee715be35774f516a97 /Demos/Device/ClassDriver/CDC/CDC.c
parentec079c71d89913dd4823fe7ecf22d0d3f42b1e6d (diff)
downloadqmk_firmware-72932e278000c7086073a28639e3cfae06e39eb3.tar.gz
qmk_firmware-72932e278000c7086073a28639e3cfae06e39eb3.zip
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.
Diffstat (limited to 'Demos/Device/ClassDriver/CDC/CDC.c')
-rw-r--r--Demos/Device/ClassDriver/CDC/CDC.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/CDC/CDC.c b/Demos/Device/ClassDriver/CDC/CDC.c
index 1bcb4640a7..8e3530ca22 100644
--- a/Demos/Device/ClassDriver/CDC/CDC.c
+++ b/Demos/Device/ClassDriver/CDC/CDC.c
@@ -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);