X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf230%2FDefaultMacC.nc;h=afd5bda16f78f42cf417cefebf9104438e08769f;hb=c6513cff18e06fa63a6583845795d365e9284e26;hp=cb9e3b11ad78c8ed9a6779a6efcd4aa7fe5fe20f;hpb=e7eb45ff4faab47bdc9fc6880b6ebec515f927f1;p=tinyos-2.x.git diff --git a/tos/chips/rf230/DefaultMacC.nc b/tos/chips/rf230/DefaultMacC.nc index cb9e3b11..afd5bda1 100644 --- a/tos/chips/rf230/DefaultMacC.nc +++ b/tos/chips/rf230/DefaultMacC.nc @@ -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;