]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/system/BlockingSerialActiveMessageC.nc
Align serial implementaion to changes jsut made to the radio
[tinyos-2.x.git] / tos / lib / tosthreads / system / BlockingSerialActiveMessageC.nc
index 48933fafbbc460944385a277fcb224481c49e410..f9b9ed3d75fd70e18f6d13a7ab4beab0b1666cbd 100644 (file)
@@ -44,6 +44,10 @@ configuration BlockingSerialActiveMessageC {
     interface AMPacket;
     interface PacketAcknowledgements;
   }
+  uses {
+    interface Receive as Receive[uint8_t id];
+    interface AMSend as AMSend[uint8_t id];
+  }
 }
 implementation {
   components SerialActiveMessageC as AM;
@@ -56,8 +60,8 @@ implementation {
   BlockingAMSend = AMSenderP;
   
   BlockingStdControlC.SplitControl -> AM;
-  AMReceiverP.Receive -> AM.Receive;
-  AMSenderP.AMSend -> AM.AMSend;
+  Receive = AMReceiverP.Receive;
+  AMSend = AMSenderP.AMSend;
     
   Packet       = AM;
   AMPacket     = AM;