TSCH: map RPL trickle interval to TSCH EB period

This commit is contained in:
Simon Duquennoy 2016-06-23 18:41:40 +02:00
parent a8989f9f1c
commit ab706a6f33
3 changed files with 11 additions and 4 deletions

View file

@ -189,7 +189,7 @@ tsch_set_join_priority(uint8_t jp)
void
tsch_set_eb_period(uint32_t period)
{
tsch_current_eb_period = period;
tsch_current_eb_period = MIN(period, TSCH_MAX_EB_PERIOD);
}
/*---------------------------------------------------------------------------*/
static void