mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-16 22:28:59 +00:00
mc1322x: flush the radio rx queue in the receive process
This commit is contained in:
parent
e9c904a74c
commit
bea643bc4a
@ -280,6 +280,10 @@ PROCESS_THREAD(contiki_maca_process, ev, data)
|
|||||||
NETSTACK_RDC.input();
|
NETSTACK_RDC.input();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/* Call ourself again to handle remaining packets in the queue */
|
||||||
|
if (rx_head != NULL) {
|
||||||
|
process_poll(&contiki_maca_process);
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user