From 75628f0e79fd2bacd3e1eb0f31cd4eb6a3a32450 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 11 May 2013 10:20:48 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5708 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARMCM4-STM32F407-DISCOVERY-G++/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3