commit
f83556bd98
|
@ -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) {
|
||||
|
|
|
@ -559,7 +559,8 @@ void insert_at_rx_head(volatile packet_t *p) {
|
|||
} else {
|
||||
rx_head->right = p;
|
||||
p->left = rx_head;
|
||||
rx_head = p; rx_head->left = 0;
|
||||
p->right = 0;
|
||||
rx_head = p;
|
||||
}
|
||||
|
||||
// print_packets("insert at rx head");
|
||||
|
|
Loading…
Reference in a new issue