Always provide an implementation of process_action_nocache

example_keyboards
Wojciech Siewierski 9 years ago
parent 20dd9c0326
commit 73cb87740b

@ -62,6 +62,11 @@ void process_action_nocache(keyrecord_t *record)
process_action(record); process_action(record);
disable_action_cache = false; disable_action_cache = false;
} }
#else
void process_action_nocache(keyrecord_t *record)
{
process_action(record);
}
#endif #endif
/* /*

@ -61,8 +61,8 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt);
/* Utilities for actions. */ /* Utilities for actions. */
#if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS) #if !defined(NO_ACTION_LAYER) && defined(PREVENT_STUCK_MODIFIERS)
extern bool disable_action_cache; extern bool disable_action_cache;
void process_action_nocache(keyrecord_t *record);
#endif #endif
void process_action_nocache(keyrecord_t *record);
void process_action(keyrecord_t *record); void process_action(keyrecord_t *record);
void register_code(uint8_t code); void register_code(uint8_t code);
void unregister_code(uint8_t code); void unregister_code(uint8_t code);

Loading…
Cancel
Save