Skip to content

Commit

Permalink
ChibiOS: Don't call suspend_wakeup_init()
Browse files Browse the repository at this point in the history
Otherwise modifier keys are not sent if they were pressed first to wakeup from
suspend. I suspect that the rest of suspend_wakeup_init is similarly tested,
so i disabled the whole function.
  • Loading branch information
lactide committed Jul 24, 2019
1 parent 0fd239a commit 083805f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmk_core/protocol/chibios/usb_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ static void usb_event_cb(USBDriver *usbp, usbevent_t event) {
sduWakeupHookI(&drivers.array[i].driver);
chSysUnlockFromISR();
}
suspend_wakeup_init();
//suspend_wakeup_init();
#ifdef SLEEP_LED_ENABLE
sleep_led_disable();
// NOTE: converters may not accept this
Expand Down

0 comments on commit 083805f

Please sign in to comment.