diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/various/lwip_bindings/lwipthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/various/lwip_bindings/lwipthread.c b/os/various/lwip_bindings/lwipthread.c index 0a29829a5..145eebf0d 100644 --- a/os/various/lwip_bindings/lwipthread.c +++ b/os/various/lwip_bindings/lwipthread.c @@ -266,7 +266,7 @@ msg_t lwip_thread(void *p) { evtStart(&evt);
chEvtRegisterMask(&evt.et_es, &el0, PERIODIC_TIMER_ID);
chEvtRegisterMask(macGetReceiveEventSource(ÐD1), &el1, FRAME_RECEIVED_ID);
- chEvtAddFlags(PERIODIC_TIMER_ID | FRAME_RECEIVED_ID);
+ chEvtAddEvents(PERIODIC_TIMER_ID | FRAME_RECEIVED_ID);
/* Goes to the final priority after initialization.*/
chThdSetPriority(LWIP_THREAD_PRIORITY);
|