summaryrefslogtreecommitdiff
path: root/tmk_core/common
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2016-03-08 08:48:43 +0100
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2016-03-08 08:48:43 +0100
commit8d55a12a9538742f510087f14fc59eb813b2ef42 (patch)
treeecc3a7b6c3687b43d4413bdd827c47f219f7b61c /tmk_core/common
parentc2480884aa1321ec4a0364f773476f0e7f7d3069 (diff)
Document the issue of stuck modifiers
Diffstat (limited to 'tmk_core/common')
-rw-r--r--tmk_core/common/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index be06e12aae..26a5fad7ac 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -61,7 +61,7 @@ void action_exec(keyevent_t event)
*/
action_t store_or_get_action(bool pressed, keypos_t key)
{
-#ifndef NO_ACTION_LAYER
+#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS)
static action_t pressed_actions[MATRIX_ROWS][MATRIX_COLS];
if (pressed) {