]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/eyesIFX/byte_radio/RssiFixedThresholdCMC.nc
instrument for debug
[tinyos-2.x.git] / tos / platforms / eyesIFX / byte_radio / RssiFixedThresholdCMC.nc
index 5b2384d4fd7c778c0cc62fe9f097b99e291d211b..a2f70ad9dfc4b805bf25a2c4255f5350ca9e4e5a 100644 (file)
@@ -34,6 +34,7 @@
  * @author: Kevin Klues (klues@tkn.tu-berlin.de)
  * @author: Andreas Koepke (koepke@tkn.tu-berlin.de)
  */
+// #define RSSI_FIXED_DEBUG
 configuration RssiFixedThresholdCMC
 {
     provides {
@@ -65,9 +66,9 @@ implementation
     ChannelMonitorData = RssiFixedThresholdCMP;
     BatteryLevel = RssiFixedThresholdCMP;
 
-/*    components PlatformLedsC;
-    RssiFixedThresholdCMP.Led3 -> PlatformLedsC.Led3;
-    RssiFixedThresholdCMP.Led2 -> PlatformLedsC.Led2;
-*/
     RssiFixedThresholdCMP.Timer -> Timer;    
+#ifdef RSSI_FIXED_DEBUG
+    components new SerialDebugC() as SD;
+    RssiFixedThresholdCMP.SerialDebug -> SD;
+#endif
 }