X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Ftosthreads%2Fsystem%2FBlockingAMSnooperC.nc;h=3f90b911fc396137e6870dfdd3744a4ee0426be6;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hp=234ef2fc4f3533ed7ca84273f9f6c299301ac265;hpb=993e42e649f589f715a25238a431734b819bc219;p=tinyos-2.x.git diff --git a/tos/lib/tosthreads/system/BlockingAMSnooperC.nc b/tos/lib/tosthreads/system/BlockingAMSnooperC.nc index 234ef2fc..3f90b911 100644 --- a/tos/lib/tosthreads/system/BlockingAMSnooperC.nc +++ b/tos/lib/tosthreads/system/BlockingAMSnooperC.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 BlockingAMSnooperC(am_id_t amId) { } } implementation { - components ActiveMessageC; components BlockingActiveMessageC as AM; BlockingReceive = AM.BlockingSnoop[amId]; - AM.Snoop[amId] -> ActiveMessageC.Snoop[amId]; Packet = AM; AMPacket = AM;