Use TRICKLE_TIMER_IS_STOPPED in trickle_timer_stop()
This commit is contained in:
parent
995a9c92d9
commit
060b00c4b5
|
@ -449,7 +449,7 @@ uint8_t trickle_timer_set(struct trickle_timer *tt,
|
||||||
*/
|
*/
|
||||||
#define trickle_timer_stop(tt) do { \
|
#define trickle_timer_stop(tt) do { \
|
||||||
ctimer_stop(&((tt)->ct)); \
|
ctimer_stop(&((tt)->ct)); \
|
||||||
(tt)->i_cur = 0; \
|
(tt)->i_cur = TRICKLE_TIMER_IS_STOPPED; \
|
||||||
} while(0)
|
} while(0)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue