1
0
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:
Cenk Gündoğan 2017-10-26 15:13:11 +02:00
parent 4d1a6c04b0
commit 5852517614

View File

@ -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);
}