From 182cbc07cc90febdb723f723fa78e95fa2e8e3ed Mon Sep 17 00:00:00 2001 From: andreaskoepke Date: Thu, 19 Jul 2007 12:35:29 +0000 Subject: [PATCH] explicit conversion to 32bit multiplication (work around msp430-gcc bug) --- tos/lib/net/lqi/LqiRoutingEngineP.nc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tos/lib/net/lqi/LqiRoutingEngineP.nc b/tos/lib/net/lqi/LqiRoutingEngineP.nc index 6740637e..89ede9dc 100644 --- a/tos/lib/net/lqi/LqiRoutingEngineP.nc +++ b/tos/lib/net/lqi/LqiRoutingEngineP.nc @@ -330,7 +330,7 @@ implementation { event void Timer.fired() { call Leds.led0Toggle(); post TimerTask(); - call Timer.startPeriodic(1024 * gUpdateInterval + 1); + call Timer.startOneShot((uint32_t)1024 * gUpdateInterval + 1); } event message_t* Receive.receive(message_t* msg, void* payload, uint8_t len) { -- 2.39.2