TSCH: fix the behavior of TSCH_SCHEDULE_AND_YIELD macro in case a miss is detected
@@ -331,8 +331,8 @@ tsch_schedule_slot_operation(struct rtimer *tm, rtimer_clock_t ref_time, rtimer_
do { \
if(tsch_schedule_slot_operation(tm, ref_time, offset - RTIMER_GUARD, str)) { \
PT_YIELD(pt); \
- RTIMER_BUSYWAIT_UNTIL_ABS(0, ref_time, offset); \
} \
+ RTIMER_BUSYWAIT_UNTIL_ABS(0, ref_time, offset); \
} while(0);
/*---------------------------------------------------------------------------*/
/* Get EB, broadcast or unicast packet to be sent, and target neighbor. */
