mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-07 18:25:14 +00:00
the contiki-maca process should wait for a poll event
This commit is contained in:
@@ -295,7 +295,7 @@ PROCESS_THREAD(contiki_maca_process, ev, data)
|
||||
PROCESS_BEGIN();
|
||||
|
||||
while (1) {
|
||||
PROCESS_YIELD();
|
||||
PROCESS_YIELD_UNTIL(ev == PROCESS_EVENT_POLL);
|
||||
|
||||
/* check if there is a request to turn the radio on or off */
|
||||
if(contiki_maca_request_on == 1) {
|
||||
|
Reference in New Issue
Block a user