From: andreaskoepke Date: Thu, 19 Jul 2007 12:35:29 +0000 (+0000) Subject: explicit conversion to 32bit multiplication (work around msp430-gcc bug) X-Git-Tag: release_tools_1_2_4_1~18 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=182cbc07cc90febdb723f723fa78e95fa2e8e3ed explicit conversion to 32bit multiplication (work around msp430-gcc bug) --- 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) {