]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Always provide an implementation of process_action_nocache
authorWojciech Siewierski <wojciech.siewierski@onet.pl>
Tue, 15 Mar 2016 15:03:30 +0000 (16:03 +0100)
committerWojciech Siewierski <wojciech.siewierski@onet.pl>
Tue, 15 Mar 2016 15:03:30 +0000 (16:03 +0100)
tmk_core/common/action.c
tmk_core/common/action.h

index 1d3b738110f28d3594a65df5b5ef869af89b118a..0a3822a06c086fdd32120c26bc0a7ba30f52a5c0 100644 (file)
@@ -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
 
 /*
index 34a794db2959764e5e798fae0c88ebaee5abeecb..533e5d1a011d62c4196c750179dcfa63b81fae7b 100644 (file)
@@ -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);