diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-07-30 14:35:42 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-07-30 14:35:42 +0000 |
| commit | 6ba7e9e96d86819a418d136da5e243f1b33da12f (patch) | |
| tree | 8fd1350e0f1029cdd0dd0ee715be35774f516a97 /Demos/Device/ClassDriver/CDC/CDC.c | |
| parent | e4ff62f7f92ce3877332c7ee3d7d3e24e5ac42a7 (diff) | |
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.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@704 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Demos/Device/ClassDriver/CDC/CDC.c')
| -rw-r--r-- | Demos/Device/ClassDriver/CDC/CDC.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/ClassDriver/CDC/CDC.c b/Demos/Device/ClassDriver/CDC/CDC.c index 1bcb4640..8e3530ca 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);
|
