diff options
Diffstat (limited to 'demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp')
-rw-r--r-- | demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp b/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp index 67868c5bc..5ebcdc852 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp +++ b/demos/STM32/RT-STM32F407-DISCOVERY-G++/main.cpp @@ -95,7 +95,7 @@ protected: while (true) { switch(curr->action) { case SLEEP: - sleep(MS2ST(curr->value)); + sleep(TIME_MS2I(curr->value)); break; case GOTO: curr = &base[curr->value]; @@ -187,7 +187,7 @@ int main(void) { tester.start(NORMALPRIO); tester.wait(); }; - BaseThread::sleep(MS2ST(500)); + BaseThread::sleep(TIME_MS2I(500)); } return 0; |