]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/mac/tkn154/RadioClientC.nc
Update git tag release_tinyos_2_1_0_0 for consistency with CVS tag of same name.
[tinyos-2.x.git] / tos / lib / mac / tkn154 / RadioClientC.nc
index 551679c22604e8b54fa9a153448e8e300e80dd72..53b6e9b78f4ad834e01eecc0c936a48c967cb338 100644 (file)
@@ -56,20 +56,20 @@ implementation
     CLIENT = unique(IEEE802154_RADIO_RESOURCE),
   };
 
-  components RadioControlP;
-  RadioRx = RadioControlP.RadioRx[CLIENT];
-  RadioTx = RadioControlP.RadioTx[CLIENT];
-  RadioOff = RadioControlP.RadioOff[CLIENT];
-  Token = RadioControlP.Token[CLIENT];
-  IsResourceRequested = RadioControlP.IsResourceRequested;
-  TokenRequested = RadioControlP.TokenRequested[CLIENT];
+  components FrameDispatchP;
+  RadioRx = FrameDispatchP.RadioRx[CLIENT];
+  RadioTx = FrameDispatchP.RadioTx[CLIENT];
+  RadioOff = FrameDispatchP.RadioOff[CLIENT];
+  Token = FrameDispatchP.Token[CLIENT];
+  IsResourceRequested = FrameDispatchP.IsResourceRequested;
+  TokenRequested = FrameDispatchP.TokenRequested[CLIENT];
 
   components new TransferClientP(CLIENT);
   ResourceTransfer = TransferClientP;
   ResourceTransferred = TransferClientP;
   TransferTo = TransferClientP;
   TransferFrom = TransferClientP;
-  TransferClientP.ResourceTransferControl -> RadioControlP;
-  TransferClientP.Leds -> RadioControlP;
+  TransferClientP.ResourceTransferControl -> FrameDispatchP;
+  TransferClientP.Leds -> FrameDispatchP;
 }