[Core] Refactor keyevent_t for 1ms timing resolution (#15847)
This commit is contained in:
1 parent
2d9140af53
commit
fcf8b804ed
49 files changed
+360
-273
No files matched your search
+1
-1
@@ -462,7 +462,7 @@ static inline void generate_tick_event(void) {
|
||||
static uint16_t last_tick = 0;
|
||||
const uint16_t now = timer_read();
|
||||
if (TIMER_DIFF_16(now, last_tick) != 0) {
|
||||
action_exec(TICK_EVENT);
|
||||
action_exec(MAKE_TICK_EVENT);
|
||||
last_tick = now;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user