]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/system/BlockingAMSenderC.nc
Changes to allow other subsystems to wire to underlying ActiveMessages (Send, Receive...
[tinyos-2.x.git] / tos / lib / tosthreads / system / BlockingAMSenderC.nc
index 4d70b1e0670d586590dd3ef2b125f2398b45f666..142a8d7ee56e465a98d6c212dcfd19bee19280e0 100644 (file)
@@ -45,8 +45,10 @@ generic configuration BlockingAMSenderC(am_id_t AMId) {
 }
 
 implementation {
+  components ActiveMessageC;
   components BlockingActiveMessageC as AM;
   BlockingAMSend = AM.BlockingAMSend[AMId];
+  AM.AMSend[AMId] -> ActiveMessageC.AMSend[AMId];
   
   Packet = AM;
   AMPacket = AM;