X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsystem%2FBlockingActiveMessageC.nc;h=26b29ffce28164885301d6d192c70a8f0570d368;hp=f749e1c9401f0129328d0a01077ba07d0db3fb97;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 diff --git a/tos/lib/tosthreads/system/BlockingActiveMessageC.nc b/tos/lib/tosthreads/system/BlockingActiveMessageC.nc index f749e1c9..26b29ffc 100644 --- a/tos/lib/tosthreads/system/BlockingActiveMessageC.nc +++ b/tos/lib/tosthreads/system/BlockingActiveMessageC.nc @@ -46,11 +46,6 @@ configuration BlockingActiveMessageC { interface AMPacket; interface PacketAcknowledgements; } - uses { - interface Receive as Receive[uint8_t id]; - interface Receive as Snoop[uint8_t id]; - interface AMSend as AMSend[uint8_t id]; - } } implementation { components ActiveMessageC as AM; @@ -66,9 +61,9 @@ implementation { BlockingAMSend = AMSenderP; BlockingStdControlC.SplitControl -> AM; - Receive = AMReceiverP.Receive; - Snoop = AMSnooperP.Snoop; - AMSend = AMSenderP.AMSend; + AMReceiverP.Receive -> AM.ReceiveDefault; + AMSnooperP.Snoop -> AM.SnoopDefault; + AMSenderP.AMSend -> AM.AMSend; Packet = AM; AMPacket = AM;