]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
removed cc2420 dependency
authorr-studio <r-studio>
Thu, 29 Oct 2009 15:55:00 +0000 (15:55 +0000)
committerr-studio <r-studio>
Thu, 29 Oct 2009 15:55:00 +0000 (15:55 +0000)
apps/tests/TestFtsp/FtspLpl/TestFtspAppC.nc
apps/tests/TestFtsp/FtspLpl/TestFtspC.nc
tos/lib/ftsp/TimeSync32kC.nc

index fbb754000bb409dfa2f7a805156a3be722a0b8db..bb5906154b9cb5b3db25c1efec851ba97308fb42 100755 (executable)
@@ -46,6 +46,8 @@ implementation {
   App.AMSend -> ActiveMessageC.AMSend[AM_TEST_FTSP_MSG];
   App.Packet -> ActiveMessageC;
   App.PacketTimeStamp -> ActiveMessageC;
+  App.LowPowerListening -> ActiveMessageC;
+
 
   components RandomC;
   App.Random -> RandomC;
@@ -58,10 +60,5 @@ implementation {
   App.GlobalTime -> TimeSync32kC;
   App.TimeSyncInfo -> TimeSync32kC;
   App.Leds -> LedsC;
-
-#ifdef LOW_POWER_LISTENING
-  components CC2420ActiveMessageC;
-  App.LowPowerListening -> CC2420ActiveMessageC;
-#endif
-
+  
 }
index fe377e0ce17c0742b517b61319700ab0ec71e5cc..58b58ee35c362f350256e5b149902989ced4c783 100755 (executable)
@@ -44,9 +44,7 @@ module TestFtspC
 
         interface TimeSyncPacket<T32khz,uint32_t>;
 
-#ifdef LOW_POWER_LISTENING
         interface LowPowerListening;
-#endif
 
     }
 }
@@ -116,9 +114,7 @@ implementation
     }
 
     event void RadioControl.startDone(error_t err) {
-#ifdef LOW_POWER_LISTENING
         call LowPowerListening.setLocalWakeupInterval(LPL_INTERVAL);
-#endif
     }
     event void RadioControl.stopDone(error_t error){}
 }
index f709829eeefb1b037ce1568e47789ad24a1285f2..5d325db02bebbfca25e67e96182558ee5e27eba9 100755 (executable)
@@ -72,8 +72,7 @@ implementation
   TimeSyncP.Leds  ->  LedsC;
 
 #ifdef LOW_POWER_LISTENING
-  components CC2420ActiveMessageC;
-  TimeSyncP.LowPowerListening -> CC2420ActiveMessageC;
+  TimeSyncP.LowPowerListening -> ActiveMessageC;
 #endif