From: tmk Date: Sat, 7 Nov 2020 07:39:15 +0000 (+0900) Subject: core: Clean up code of Locking key support X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=ab083c7ecff4f8a576d858745ab353f7937a1b94;p=max%2Ftmk_keyboard.git core: Clean up code of Locking key support --- diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c index 85a0631f..80eb3a8a 100644 --- a/tmk_core/common/action.c +++ b/tmk_core/common/action.c @@ -375,37 +375,28 @@ void register_code(uint8_t code) } #ifdef LOCKING_SUPPORT_ENABLE - else if (KC_LOCKING_CAPS == code) { -#ifdef LOCKING_RESYNC_ENABLE - // Resync: ignore if caps lock already is on - if (host_keyboard_leds() & (1<