diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-01 16:06:22 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-01 16:06:22 +0000 |
commit | cdb04bd4815f8348a008da9ab765d191371312e0 (patch) | |
tree | ec5bf5db844d3c368b3ef021896600703641334e | |
parent | e19a2021c8c3b8d995f501d4ff417a0162138718 (diff) | |
download | ChibiOS-cdb04bd4815f8348a008da9ab765d191371312e0.tar.gz ChibiOS-cdb04bd4815f8348a008da9ab765d191371312e0.tar.bz2 ChibiOS-cdb04bd4815f8348a008da9ab765d191371312e0.zip |
Fixed bug 3100901.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2323 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/lwipthread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/lwipthread.c b/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/lwipthread.c index 8065a6b61..3c58e266a 100644 --- a/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/lwipthread.c +++ b/demos/ARM7-AT91SAM7X-LWIP-GCC/lwip/lwipthread.c @@ -264,7 +264,7 @@ msg_t lwip_thread(void *p) { evtStart(&evt);
chEvtRegisterMask(&evt.et_es, &el0, PERIODIC_TIMER_ID);
chEvtRegisterMask(macGetReceiveEventSource(Ð1), &el1, FRAME_RECEIVED_ID);
- chEvtPend(PERIODIC_TIMER_ID | FRAME_RECEIVED_ID);
+ chEvtAddFlags(PERIODIC_TIMER_ID | FRAME_RECEIVED_ID);
/* Goes to the final priority after initialization.*/
chThdSetPriority(LWIP_THREAD_PRIORITY);
|