mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
trickle: correctly reset t
This commit is contained in:
parent
4d1a6c04b0
commit
5852517614
@ -61,7 +61,7 @@ void trickle_reset_timer(trickle_t *trickle)
|
||||
assert(trickle->I > trickle->Imin);
|
||||
|
||||
trickle_stop(trickle);
|
||||
trickle->I = trickle->Imin;
|
||||
trickle->I = trickle->t = trickle->Imin;
|
||||
trickle_interval(trickle);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user