diff options
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;
}
|