aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChriston DeWan <cmdpix@mac.com>2018-11-27 15:20:17 -0800
committerDrashna Jaelre <drashna@live.com>2018-11-27 15:20:17 -0800
commit55c32148779baf1dcacb3bedc74f8179a1e0b2d7 (patch)
tree3567f560f3e6ca60a7e94ed0b84080d9a8b41871
parentdd7534cccabd9e1cea86e69741ed8c68cb3d0299 (diff)
downloadqmk_firmware-55c32148779baf1dcacb3bedc74f8179a1e0b2d7.tar.gz
qmk_firmware-55c32148779baf1dcacb3bedc74f8179a1e0b2d7.zip
fixed misplaced paranthesis in arm usb mouse send function (#4478)
bug was causing lots of dropped events for me.
-rw-r--r--tmk_core/protocol/chibios/usb_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c
index 3028e7ea2..8223d9722 100644
--- a/tmk_core/protocol/chibios/usb_main.c
+++ b/tmk_core/protocol/chibios/usb_main.c
@@ -704,7 +704,7 @@ void send_mouse(report_mouse_t *report) {
704 * every iteration - otherwise the system will remain locked, 704 * every iteration - otherwise the system will remain locked,
705 * no interrupts served, so USB not going through as well. 705 * no interrupts served, so USB not going through as well.
706 * Note: for suspend, need USB_USE_WAIT == TRUE in halconf.h */ 706 * Note: for suspend, need USB_USE_WAIT == TRUE in halconf.h */
707 if (osalThreadSuspendTimeoutS(&(&USB_DRIVER)->epc[MOUSE_IN_EPNUM]->in_state->thread, MS2ST(10)==MSG_TIMEOUT)) { 707 if (osalThreadSuspendTimeoutS(&(&USB_DRIVER)->epc[MOUSE_IN_EPNUM]->in_state->thread, MS2ST(10))==MSG_TIMEOUT) {
708 osalSysUnlock(); 708 osalSysUnlock();
709 return; 709 return;
710 } 710 }