]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/lqi/LqiRoutingEngineP.nc
explicit conversion to 32bit multiplication (work around msp430-gcc bug)
[tinyos-2.x.git] / tos / lib / net / lqi / LqiRoutingEngineP.nc
index 6740637ebfd1a565dcbfbd5f7604e80b917fc24a..89ede9dcc265c2340ef94d3030ff24e646953967 100644 (file)
@@ -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) {