git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3979 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
4aa2f80db0
commit
2424576a2a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue