From 060b00c4b50837fa7b5490aabff4d80f7c930bfd Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Mon, 30 Sep 2013 12:37:01 +0100 Subject: [PATCH] Use TRICKLE_TIMER_IS_STOPPED in trickle_timer_stop() --- core/lib/trickle-timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/trickle-timer.h b/core/lib/trickle-timer.h index 042f434c0..dedee3301 100644 --- a/core/lib/trickle-timer.h +++ b/core/lib/trickle-timer.h @@ -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) /**