qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit 55c32148779baf1dcacb3bedc74f8179a1e0b2d7
parent dd7534cccabd9e1cea86e69741ed8c68cb3d0299
Author: Christon DeWan <cmdpix@mac.com>
Date:   Tue, 27 Nov 2018 15:20:17 -0800

fixed misplaced paranthesis in arm usb mouse send function (#4478)

bug was causing lots of dropped events for me.
Diffstat:
tmk_core/protocol/chibios/usb_main.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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) { * every iteration - otherwise the system will remain locked, * no interrupts served, so USB not going through as well. * Note: for suspend, need USB_USE_WAIT == TRUE in halconf.h */ - if (osalThreadSuspendTimeoutS(&(&USB_DRIVER)->epc[MOUSE_IN_EPNUM]->in_state->thread, MS2ST(10)==MSG_TIMEOUT)) { + if (osalThreadSuspendTimeoutS(&(&USB_DRIVER)->epc[MOUSE_IN_EPNUM]->in_state->thread, MS2ST(10))==MSG_TIMEOUT) { osalSysUnlock(); return; }