]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/system/BlockingSerialAMReceiverC.nc
Align serial implementaion to changes jsut made to the radio
[tinyos-2.x.git] / tos / lib / tosthreads / system / BlockingSerialAMReceiverC.nc
index 7ec4d389e90bbe05092c548e59141ad0238b80a9..bbd8938010b2900b85dd7c0506e020d0943e282c 100644 (file)
@@ -43,8 +43,10 @@ generic configuration BlockingSerialAMReceiverC(am_id_t amId) {
   }
 }
 implementation {
+  components SerialActiveMessageC;
   components BlockingSerialActiveMessageC as AM;
   BlockingReceive = AM.BlockingReceive[amId];
+  AM.Receive[amId] -> SerialActiveMessageC.Receive[amId];
   
   Packet = AM;
   AMPacket = AM;