remove PT_YIELD to habe better ping sync

This commit is contained in:
Harald Pichler 2016-10-16 22:02:54 +02:00
parent a37fd79426
commit 0fd28e0585

View file

@ -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() ||