X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fnet%2Flqi%2FLqiRoutingEngineP.nc;h=89ede9dcc265c2340ef94d3030ff24e646953967;hb=182cbc07cc90febdb723f723fa78e95fa2e8e3ed;hp=6740637ebfd1a565dcbfbd5f7604e80b917fc24a;hpb=2f0cf5805880a8cc69d1396545543cd10e21f8f4;p=tinyos-2.x.git 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) {