]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/net/lqi/MultiHopLQI.nc
Added volume valid check. Verified operation with telos and micaz
[tinyos-2.x.git] / tos / lib / net / lqi / MultiHopLQI.nc
index 9259b3e49a7b2648293d914a9b4db3a7628577b5..f1c18dfb349e970866f5e5032b42cdccfc294e61 100644 (file)
@@ -55,6 +55,7 @@ module MultiHopLQI {
     interface AMPacket;
     interface LqiRouteStats;
     interface CC2420Packet;
+    interface Leds;
   }
 }
 
@@ -190,6 +191,7 @@ implementation {
   }
 
   command error_t RootControl.setRoot() {
+    call Leds.led2On();
     isRoot = TRUE;
     return SUCCESS;
   }