X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsystem%2FBlockingAMReceiverC.nc;h=f36760101ac6601cf95b18a586ca1eaf66706abd;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=594354143d1151e41e849eef9c866016ead7a97e;hpb=993e42e649f589f715a25238a431734b819bc219;p=tinyos-2.x.git diff --git a/tos/lib/tosthreads/system/BlockingAMReceiverC.nc b/tos/lib/tosthreads/system/BlockingAMReceiverC.nc index 59435414..f3676010 100644 --- a/tos/lib/tosthreads/system/BlockingAMReceiverC.nc +++ b/tos/lib/tosthreads/system/BlockingAMReceiverC.nc @@ -31,6 +31,7 @@ /** * @author Kevin Klues (klueska@cs.stanford.edu) + * @author Chieh-Jan Mike Liang (cliang4@cs.jhu.edu) */ #include "AM.h" @@ -43,10 +44,8 @@ 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;