mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-24 20:32:58 +00:00
lint fix
This commit is contained in:
parent
1b6d41c398
commit
f5ff9d0388
@ -78,7 +78,7 @@ uint16_t timer_read(void) {
|
||||
}
|
||||
|
||||
uint32_t timer_read32(void) {
|
||||
syssts_t sts = chSysGetStatusAndLockX();
|
||||
syssts_t sts = chSysGetStatusAndLockX();
|
||||
uint32_t ticks = get_system_time_ticks() - ticks_offset;
|
||||
if (ticks < last_ticks) {
|
||||
// The 32-bit tick counter overflowed and wrapped around. We cannot just extend the counter to 64 bits here,
|
||||
|
Loading…
Reference in New Issue
Block a user