[Core] guard action related debug messages (#19348)
This commit is contained in:
parent
233ae20d33
commit
dedc54a328
5 changed files with 99 additions and 158 deletions
|
@ -112,7 +112,19 @@ bool is_tap_action(action_t action);
|
|||
void process_record_tap_hint(keyrecord_t *record);
|
||||
#endif
|
||||
|
||||
/* debug */
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Helpers
|
||||
|
||||
#ifdef ACTION_DEBUG
|
||||
# include "debug.h"
|
||||
# include "print.h"
|
||||
# define ac_dprintf(...) dprintf(__VA_ARGS__)
|
||||
#else
|
||||
# define ac_dprintf(...) \
|
||||
do { \
|
||||
} while (0)
|
||||
#endif
|
||||
|
||||
void debug_event(keyevent_t event);
|
||||
void debug_record(keyrecord_t record);
|
||||
void debug_action(action_t action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue