git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3979 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2012-02-25 13:01:26 +00:00
parent 4aa2f80db0
commit 2424576a2a
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ int main(void) {
chEvtAddFlags(PERIODIC_TIMER_ID | FRAME_RECEIVED_ID); chEvtAddFlags(PERIODIC_TIMER_ID | FRAME_RECEIVED_ID);
/* /*
* Normal main() thread activity, in this demo it enables and disables the * Normal main() thread activity, the Ethernet status is polled every
* button EXT channel using 5 seconds intervals. * 5 seconds, incoming frames are read.
*/ */
while (TRUE) { while (TRUE) {
eventmask_t mask = chEvtWaitAny(ALL_EVENTS); eventmask_t mask = chEvtWaitAny(ALL_EVENTS);