]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
explicit conversion to 32bit multiplication (work around msp430-gcc bug)
authorandreaskoepke <andreaskoepke>
Thu, 19 Jul 2007 12:35:29 +0000 (12:35 +0000)
committerandreaskoepke <andreaskoepke>
Thu, 19 Jul 2007 12:35:29 +0000 (12:35 +0000)
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) {