]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/system/BlockingAMReceiverC.nc
Changes to allow other subsystems to wire to underlying ActiveMessages (Send, Receive...
[tinyos-2.x.git] / tos / lib / tosthreads / system / BlockingAMReceiverC.nc
index efac52cbcd0277e6c59e09b4e4add5ce873d0588..594354143d1151e41e849eef9c866016ead7a97e 100644 (file)
@@ -43,8 +43,10 @@ generic configuration BlockingAMReceiverC(am_id_t amId) {
   }
 }
 implementation {
+  components ActiveMessageC;
   components BlockingActiveMessageC as AM;
   BlockingReceive = AM.BlockingReceive[amId];
+  AM.Receive[amId] -> ActiveMessageC.Receive[amId];
   
   Packet = AM;
   AMPacket = AM;