We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1d80bb commit 2f333a4Copy full SHA for 2f333a4
src/STM32FreeRTOS.c
@@ -11,7 +11,7 @@
11
* \param[in] millis milliseconds to delay
12
*/
13
static void delayMS(uint32_t millis) {
14
- uint32_t iterations = millis * (SystemCoreClock/7000);
+ uint32_t iterations = millis * (F_CPU/7000);
15
uint32_t i;
16
for(i = 0; i < iterations; ++i) {
17
__asm__("nop\n\t");
0 commit comments