mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-26 19:11:13 +00:00
Update tmk_core/common/wait.h
Co-Authored-By: Drashna Jaelre <drashna@live.com>
This commit is contained in:
parent
1615d768ea
commit
e5864cd471
@ -14,7 +14,7 @@ extern "C" {
|
||||
#elif defined PROTOCOL_CHIBIOS
|
||||
# include "ch.h"
|
||||
// FIXME: This doesn't compile if `NKRO_ENABLED = no`
|
||||
# define wait_ms(ms) chSysPolledDelayX(MS2RTC(STM32_SYSCLK, x))
|
||||
# define wait_ms(ms) chSysPolledDelayX(MS2RTC(STM32_SYSCLK, ms))
|
||||
# define wait_us(us) chSysPolledDelayX(US2RTC(STM32_SYSCLK, x))
|
||||
#elif defined PROTOCOL_ARM_ATSAM
|
||||
# include "clks.h"
|
||||
|
Loading…
Reference in New Issue
Block a user