Use TRICKLE_TIMER_IS_STOPPED in trickle_timer_stop()

This commit is contained in:
George Oikonomou 2013-09-30 12:37:01 +01:00
parent 995a9c92d9
commit 060b00c4b5

View file

@ -449,7 +449,7 @@ uint8_t trickle_timer_set(struct trickle_timer *tt,
*/
#define trickle_timer_stop(tt) do { \
ctimer_stop(&((tt)->ct)); \
(tt)->i_cur = 0; \
(tt)->i_cur = TRICKLE_TIMER_IS_STOPPED; \
} while(0)
/**