diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2016-03-15 16:03:30 +0100 |
---|---|---|
committer | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2016-03-15 16:03:30 +0100 |
commit | 73cb87740bd814c95007f9ef6ce3dcd542a62afd (patch) | |
tree | 446427daf7cbfbd6c9d76008dd907ff16e9ac731 | |
parent | 20dd9c032616722a54174d53b0f8824f639b5263 (diff) | |
download | qmk_firmware-73cb87740bd814c95007f9ef6ce3dcd542a62afd.tar.gz qmk_firmware-73cb87740bd814c95007f9ef6ce3dcd542a62afd.zip |
Always provide an implementation of process_action_nocache
-rw-r--r-- | tmk_core/common/action.c | 5 | ||||
-rw-r--r-- | tmk_core/common/action.h | 2 |
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); |