From 97b1a139504e2ea320b3fedbb79304d58f1e0b0d Mon Sep 17 00:00:00 2001 From: andreaskoepke Date: Tue, 27 Nov 2007 13:44:09 +0000 Subject: [PATCH] startPeriodic does not always work --- tos/chips/tda5250/mac/DuplicateP.nc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tos/chips/tda5250/mac/DuplicateP.nc b/tos/chips/tda5250/mac/DuplicateP.nc index e5df6508..f1e8598e 100644 --- a/tos/chips/tda5250/mac/DuplicateP.nc +++ b/tos/chips/tda5250/mac/DuplicateP.nc @@ -124,6 +124,7 @@ implementation { /** helper interfaces */ event void Timer.fired() { + call Timer.startOneShot(AGE_INTERVALL); post ageMsgsTask(); } @@ -134,7 +135,7 @@ implementation { knownTable[i].age = MAX_AGE; } } - call Timer.startPeriodic(AGE_INTERVALL); + call Timer.startOneShot(AGE_INTERVALL); return SUCCESS; } } -- 2.39.2