]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420_tkn154/CC2420ControlP.nc
- removed some unused code
[tinyos-2.x.git] / tos / chips / cc2420_tkn154 / CC2420ControlP.nc
index ab122287c84617a4ff6af81fa6851c16e30a2ece..030f8afcf21ca8f1e364544f1e636a957e0610ce 100644 (file)
@@ -157,31 +157,6 @@ implementation {
     signal Resource.granted();
   }
 
-  void switchToUnbufferedMode()
-  {
-    uint16_t mdmctrol1;
-    call CSN.set();
-    call CSN.clr();
-    call MDMCTRL1.read(&mdmctrol1);
-    call CSN.set();
-    mdmctrol1 &= ~0x0003;
-    mdmctrol1 |= 0x0000;
-    call CSN.clr();
-    call MDMCTRL1.write(mdmctrol1);
-    call CSN.set();
-  }
-
-  void switchToBufferedMode()
-  {
-    uint16_t mdmctrol1;
-    call CSN.set();
-    call CSN.clr();
-    call MDMCTRL1.read(&mdmctrol1);
-    mdmctrol1 &= ~0x03;
-    call MDMCTRL1.write(mdmctrol1);
-    call CSN.set();
-  }
-
   /***************** CC2420Power Commands ****************/
   async command error_t CC2420Power.startVReg() {
     atomic {