Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Core] Rename TICK to TICK_EVENT #16649

Merged
merged 1 commit into from
Mar 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion quantum/keyboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ bool matrix_scan_task(void) {
// we can get here with some keys processed now.
if (!keys_processed)
#endif
action_exec(TICK);
action_exec(TICK_EVENT);

MATRIX_LOOP_END:

Expand Down
2 changes: 1 addition & 1 deletion quantum/keyboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static inline bool IS_RELEASED(keyevent_t event) {
#define MAKE_KEYEVENT(row_num, col_num, press) ((keyevent_t){.key = MAKE_KEYPOS((row_num), (col_num)), .pressed = (press), .time = (timer_read() | 1)})

/* Tick event */
#define TICK MAKE_KEYEVENT(KEYLOC_TICK, KEYLOC_TICK, false)
#define TICK_EVENT MAKE_KEYEVENT(KEYLOC_TICK, KEYLOC_TICK, false)

#ifdef ENCODER_MAP_ENABLE
/* Encoder events */
Expand Down