summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojciech Siewierski <wojciech.siewierski@onet.pl>2016-03-15 16:03:30 +0100
committerWojciech Siewierski <wojciech.siewierski@onet.pl>2016-03-15 16:03:30 +0100
commit73cb87740bd814c95007f9ef6ce3dcd542a62afd (patch)
tree446427daf7cbfbd6c9d76008dd907ff16e9ac731
parent20dd9c032616722a54174d53b0f8824f639b5263 (diff)
Always provide an implementation of process_action_nocache
-rw-r--r--tmk_core/common/action.c5
-rw-r--r--tmk_core/common/action.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index 1d3b738110..0a3822a06c 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -62,6 +62,11 @@ void process_action_nocache(keyrecord_t *record)
process_action(record);
disable_action_cache = false;
}
+#else
+void process_action_nocache(keyrecord_t *record)
+{
+ process_action(record);
+}
#endif
/*
diff --git a/tmk_core/common/action.h b/tmk_core/common/action.h
index 34a794db29..533e5d1a01 100644
--- a/tmk_core/common/action.h
+++ b/tmk_core/common/action.h
@@ -61,8 +61,8 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt);
/* Utilities for actions. */
#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS)
extern bool disable_action_cache;
-void process_action_nocache(keyrecord_t *record);
#endif
+void process_action_nocache(keyrecord_t *record);
void process_action(keyrecord_t *record);
void register_code(uint8_t code);
void unregister_code(uint8_t code);