]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420_tkn154/CC2420TransmitP.nc
+ fixed an issue with shadowing some CC2420 files
[tinyos-2.x.git] / tos / chips / cc2420_tkn154 / CC2420TransmitP.nc
index b839a99c57a0bb1de53aa0776276b5cb58e2ce8c..d746c854098e781a7849e1e647be7672e588ff94 100644 (file)
@@ -49,13 +49,11 @@ module CC2420TransmitP {
   provides interface CC2420Tx;
 /*  provides interface RadioBackoff;*/
 /*  provides interface RadioTimeStamping as TimeStamp;*/
-  provides interface ReceiveIndicator as EnergyIndicator;
-  provides interface ReceiveIndicator as ByteIndicator;
+/*  provides interface ReceiveIndicator as EnergyIndicator;*/
+/*  provides interface ReceiveIndicator as ByteIndicator;*/
   
 /*  uses interface Alarm<T32khz,uint32_t> as BackoffAlarm;*/
   uses interface Alarm<T62500hz,uint32_t> as BackoffAlarm;
-  uses interface CC2420Packet;
-  uses interface CC2420PacketBody;
   uses interface GpioCapture as CaptureSFD;
   uses interface GeneralIO as CCA;
   uses interface GeneralIO as CSN;
@@ -211,15 +209,15 @@ implementation {
   }
 
   /***************** Indicator Commands ****************/
-  command bool EnergyIndicator.isReceiving() {
-    return !(call CCA.get());
-  }
-  
-  command bool ByteIndicator.isReceiving() {
-    bool high;
-    atomic high = sfdHigh;
-    return high;
-  }
+/*  command bool EnergyIndicator.isReceiving() {*/
+/*    return !(call CCA.get());*/
+/*  }*/
+/*  */
+/*  command bool ByteIndicator.isReceiving() {*/
+/*    bool high;*/
+/*    atomic high = sfdHigh;*/
+/*    return high;*/
+/*  }*/
   
 
   /***************** RadioBackoff Commands ****************/