From dfb777e3d0764e0bd19d9e59b0e39b02f7c8b479 Mon Sep 17 00:00:00 2001 From: Stefan Kerkmann Date: Wed, 15 Sep 2021 23:33:18 +0200 Subject: [PATCH] Fix a bug with layer keys --- quantum/action_layer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/quantum/action_layer.c b/quantum/action_layer.c index ed1a4bd20d94..ac883fead643 100644 --- a/quantum/action_layer.c +++ b/quantum/action_layer.c @@ -106,9 +106,8 @@ void layer_state_set(layer_state_t state) { dprintln(); # ifdef STRICT_LAYER_RELEASE clear_keyboard_but_mods(); // To avoid stuck keys -# else - clear_keyboard_but_mods_and_keys(); // Don't reset held keys # endif + // clear_keyboard_but_mods_and_keys(); // Don't reset held keys } /** \brief Layer clear