summaryrefslogtreecommitdiff
path: root/tmk_core/protocol
diff options
context:
space:
mode:
authorRasmus Schults <rasmusx@gmail.com>2018-04-06 14:34:00 +0300
committerJack Humbert <jack.humb@gmail.com>2018-07-22 11:49:36 -0400
commit8a27703ef4cc492be02e97dba49508aac89c25de (patch)
tree9cc904d9581bed27ac5ded8e5c48effe7a19d515 /tmk_core/protocol
parent006abbfd6f5f4aa0d143cb51d745d08315e6f144 (diff)
VUSB fix report dropping if usbInterruptIsReady() returns false
Diffstat (limited to 'tmk_core/protocol')
-rw-r--r--tmk_core/protocol/vusb/vusb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmk_core/protocol/vusb/vusb.c b/tmk_core/protocol/vusb/vusb.c
index 022ac6f6bd..35c0620d65 100644
--- a/tmk_core/protocol/vusb/vusb.c
+++ b/tmk_core/protocol/vusb/vusb.c
@@ -59,6 +59,9 @@ void vusb_transfer_keyboard(void)
print(")\n");
}
}
+ } else {
+ usbPoll();
+ vusb_transfer_keyboard();
}
}