]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420/CC2420ActiveMessageC.nc
Using AMSenderC infrastructure to fix CTP+FTSP bug
[tinyos-2.x.git] / tos / chips / cc2420 / CC2420ActiveMessageC.nc
index b69861cb1d09275915e4f785ff16c66e20321bee..21734736d9323621bb96db1dce851a46e8985b2e 100644 (file)
@@ -1,4 +1,4 @@
-/*                                                                     tab:4
+/*
  * "Copyright (c) 2005 Stanford University. All rights reserved.
  *
  * Permission to use, copy, modify, and distribute this software and
@@ -78,7 +78,7 @@ implementation {
 #endif
 
   
-  RadioBackoff = CsmaC;
+  RadioBackoff = AM;
   Packet = AM;
   AMSend = AM;
   SendNotifier = AM;
@@ -113,4 +113,6 @@ implementation {
   AM.CC2420PacketBody -> CC2420PacketC;
   AM.CC2420Config -> CC2420ControlC;
   
+  AM.SubBackoff -> CsmaC;
+  
 }