Fixed bug 3100901 on uIP demo.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2324 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
gdisirio 2010-11-01 16:12:09 +00:00
parent cdb04bd481
commit 24b7b8c7f8
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ msg_t WebThread(void *p) {
* Event sources setup.
*/
chEvtRegister(macGetReceiveEventSource(&ETH1), &el0, FRAME_RECEIVED_ID);
chEvtPend(EVENT_MASK(FRAME_RECEIVED_ID)); /* In case some frames are already buffered */
chEvtAddFlags(EVENT_MASK(FRAME_RECEIVED_ID)); /* In case some frames are already buffered */
evtInit(&evt1, MS2ST(500));
evtStart(&evt1);