Refactor use of STM32_SYSCLK (#14430)
* Refactor use of STM32_SYSCLK * clang
This commit is contained in:
parent
232bc23a89
commit
0ca4a56a04
6 changed files with 14 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue