[Core] Refactor keyevent_t
for 1ms timing resolution (#15847)
This commit is contained in:
parent
2d9140af53
commit
fcf8b804ed
49 changed files with 360 additions and 273 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue