Always provide an implementation of process_action_nocache
This commit is contained in:
parent
20dd9c0326
commit
73cb87740b
@ -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
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user