diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-12-07 10:21:40 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-12-07 10:21:40 +0000 |
commit | dae3de6609b9251dbaaa280c1ce886a350c3c0c5 (patch) | |
tree | 77880097c174ba635a50d9086cce447d8bd53c81 /demos | |
parent | a4d1195979a0ee8dddb05e5b8dc29521e190d28f (diff) | |
download | ChibiOS-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')
-rw-r--r-- | demos/ARM7-LPC214x-G++/main.cpp | 4 |
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;
}
|