aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-05-11 10:20:48 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-05-11 10:20:48 +0000
commit75628f0e79fd2bacd3e1eb0f31cd4eb6a3a32450 (patch)
tree210fe8e21bccb3c491a08dfbdaeab97c722a56b4 /demos
parent50fe4f680f80f6c4f7d6b99c29cf923ae7c50204 (diff)
downloadChibiOS-75628f0e79fd2bacd3e1eb0f31cd4eb6a3a32450.tar.gz
ChibiOS-75628f0e79fd2bacd3e1eb0f31cd4eb6a3a32450.tar.bz2
ChibiOS-75628f0e79fd2bacd3e1eb0f31cd4eb6a3a32450.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5708 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos')
-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;