aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core
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
parent006abbfd6f5f4aa0d143cb51d745d08315e6f144 (diff)
downloadfirmware-8a27703ef4cc492be02e97dba49508aac89c25de.tar.gz
firmware-8a27703ef4cc492be02e97dba49508aac89c25de.tar.bz2
firmware-8a27703ef4cc492be02e97dba49508aac89c25de.zip
VUSB fix report dropping if usbInterruptIsReady() returns false
Diffstat (limited to 'tmk_core')
-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 022ac6f6b..35c0620d6 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();
}
}