X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsystem%2FBlockingAMReceiverC.nc;h=594354143d1151e41e849eef9c866016ead7a97e;hb=993e42e649f589f715a25238a431734b819bc219;hp=efac52cbcd0277e6c59e09b4e4add5ce873d0588;hpb=4bfcdacf6e4dff27bf1269e666e788b9edb0098a;p=tinyos-2.x.git diff --git a/tos/lib/tosthreads/system/BlockingAMReceiverC.nc b/tos/lib/tosthreads/system/BlockingAMReceiverC.nc index efac52cb..59435414 100644 --- a/tos/lib/tosthreads/system/BlockingAMReceiverC.nc +++ b/tos/lib/tosthreads/system/BlockingAMReceiverC.nc @@ -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;