1
0
Fork 0

Always provide an implementation of process_action_nocache

This commit is contained in:
Wojciech Siewierski 2016-03-15 16:03:30 +01:00
parent 20dd9c0326
commit 73cb87740b
2 changed files with 6 additions and 1 deletions

View 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
/*

View 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);