remove PT_YIELD to habe better ping sync
This commit is contained in:
parent
a37fd79426
commit
0fd28e0585
|
@ -481,8 +481,8 @@ powercycle(struct rtimer *t, void *ptr)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
schedule_powercycle(t, CCA_CHECK_TIME + CCA_SLEEP_TIME);
|
// schedule_powercycle(t, CCA_CHECK_TIME + CCA_SLEEP_TIME);
|
||||||
PT_YIELD(&pt);
|
// PT_YIELD(&pt);
|
||||||
}
|
}
|
||||||
if(radio_is_on) {
|
if(radio_is_on) {
|
||||||
if(!(NETSTACK_RADIO.receiving_packet() ||
|
if(!(NETSTACK_RADIO.receiving_packet() ||
|
||||||
|
|
Loading…
Reference in a new issue