aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp')
-rw-r--r--demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp b/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp
index c4ced6eea..53825dbdb 100644
--- a/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp
+++ b/demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp
@@ -128,7 +128,7 @@ public:
class TesterThread : public BaseStaticThread<256> {
protected:
- virtual msg_t Main(void) {
+ virtual msg_t main(void) {
setName("tester");
@@ -192,6 +192,7 @@ int main(void) {
tester.start(NORMALPRIO);
tester.wait();
};
+ BaseThread::sleep(MS2ST(500));
}
return 0;