aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-G++/main.cpp
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-07 10:21:40 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-07 10:21:40 +0000
commitdae3de6609b9251dbaaa280c1ce886a350c3c0c5 (patch)
tree77880097c174ba635a50d9086cce447d8bd53c81 /demos/ARM7-LPC214x-G++/main.cpp
parenta4d1195979a0ee8dddb05e5b8dc29521e190d28f (diff)
downloadChibiOS-dae3de6609b9251dbaaa280c1ce886a350c3c0c5.tar.gz
ChibiOS-dae3de6609b9251dbaaa280c1ce886a350c3c0c5.tar.bz2
ChibiOS-dae3de6609b9251dbaaa280c1ce886a350c3c0c5.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@536 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-G++/main.cpp')
-rw-r--r--demos/ARM7-LPC214x-G++/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/ARM7-LPC214x-G++/main.cpp b/demos/ARM7-LPC214x-G++/main.cpp
index 576581b79..a269189ab 100644
--- a/demos/ARM7-LPC214x-G++/main.cpp
+++ b/demos/ARM7-LPC214x-G++/main.cpp
@@ -139,7 +139,7 @@ int main(int argc, char **argv) {
chEvtRegister(&evt.et_es, &el0, 0); // Registers a listener on the source.
/*
- * Starts serveral instances of the SequencerThread class, each one operating
+ * Starts several instances of the SequencerThread class, each one operating
* on a different LED.
*/
SequencerThread blinker1(LED1_sequence);
@@ -150,7 +150,7 @@ int main(int argc, char **argv) {
* Serves timer events.
*/
while (true)
- Event::Wait(ALL_EVENTS, evhndl);
+ Event::Dispatch(evhndl, Event::WaitOne(ALL_EVENTS));
return 0;
}