mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
Only schedule a trickle interval doubling for running timers
This commit is contained in:
parent
fa7219d0b8
commit
995a9c92d9
@ -276,7 +276,9 @@ fire(void *ptr)
|
||||
loctt->cb(loctt->cb_arg, TRICKLE_TIMER_PROTO_TX_ALLOW(loctt));
|
||||
}
|
||||
|
||||
schedule_for_end(loctt);
|
||||
if(trickle_timer_is_running(loctt)) {
|
||||
schedule_for_end(loctt);
|
||||
}
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
/* New trickle interval, either due to a newly set trickle timer or due to an
|
||||
|
Loading…
Reference in New Issue
Block a user