aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-01 16:06:22 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-01 16:06:22 +0000
commitcdb04bd4815f8348a008da9ab765d191371312e0 (patch)
treeec5bf5db844d3c368b3ef021896600703641334e
parente19a2021c8c3b8d995f501d4ff417a0162138718 (diff)
downloadChibiOS-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.c2
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(&ETH1), &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);