diff options
author | Joel Challis <git@zvecr.com> | 2021-09-14 03:18:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 12:18:36 +1000 |
commit | 0ca4a56a0449d17a497ba610d4cee41c914ff50e (patch) | |
tree | 5e10d1ced8cf84e673f5e3ae88457de32d4943dd /platforms/chibios/drivers/serial.c | |
parent | 232bc23a89874d1a2e028a1414dd34cf0339f8d2 (diff) | |
download | qmk_firmware-0ca4a56a0449d17a497ba610d4cee41c914ff50e.tar.gz qmk_firmware-0ca4a56a0449d17a497ba610d4cee41c914ff50e.zip |
Refactor use of STM32_SYSCLK (#14430)
* Refactor use of STM32_SYSCLK
* clang
Diffstat (limited to 'platforms/chibios/drivers/serial.c')
-rw-r--r-- | platforms/chibios/drivers/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platforms/chibios/drivers/serial.c b/platforms/chibios/drivers/serial.c index f54fbcee4e..ef6f0aa8d5 100644 --- a/platforms/chibios/drivers/serial.c +++ b/platforms/chibios/drivers/serial.c @@ -19,7 +19,7 @@ # error "chSysPolledDelayX method not supported on this platform" #else # undef wait_us -# define wait_us(x) chSysPolledDelayX(US2RTC(STM32_SYSCLK, x)) +# define wait_us(x) chSysPolledDelayX(US2RTC(CPU_CLOCK, x)) #endif #ifndef SELECT_SOFT_SERIAL_SPEED |