]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf230/DefaultMacC.nc
disable LPL by default, use CFLAGS+=-DLOW_POWER_LISTENING in the Makefile to enable LPL
[tinyos-2.x.git] / tos / chips / rf230 / DefaultMacC.nc
index cb9e3b11ad78c8ed9a6779a6efcd4aa7fe5fe20f..afd5bda16f78f42cf417cefebf9104438e08769f 100644 (file)
@@ -68,7 +68,11 @@ implementation
        RF230LayerC.lastTouch -> DefaultPacketC.lastTouch;
 
        components ActiveMessageLayerC;
+#if defined(LOW_POWER_LISTENING)
        components LowPowerListeningLayerC;
+#else  
+       components new DummyLayerC() as LowPowerListeningLayerC;
+#endif 
        components MessageBufferLayerC;
        components UniqueLayerC;
        components TrafficMonitorLayerC;