summaryrefslogtreecommitdiff
path: root/quantum/keyboard.h
diff options
context:
space:
mode:
authorStefan Kerkmann <karlk90@pm.me>2022-03-14 21:06:21 +0100
committerGitHub <noreply@github.com>2022-03-14 20:06:21 +0000
commit7e669421f86843d398b41befe1950a2e2ce054a0 (patch)
treed1c8aa30ad3312e6922ff8dcd013391bf2e09af3 /quantum/keyboard.h
parent2648a7a1254d84803273fc2c172329d9ffeb078d (diff)
Rename TICK to TICK_EVENT to prevent naming conflicts (#16649)
Diffstat (limited to 'quantum/keyboard.h')
-rw-r--r--quantum/keyboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/keyboard.h b/quantum/keyboard.h
index 62661596c1..fe0736a515 100644
--- a/quantum/keyboard.h
+++ b/quantum/keyboard.h
@@ -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 */