]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/system/BlockingAMReceiverC.nc
Fix the CC2420 Receive.receive and Snoop.receive fan-out warnings. This happened...
[tinyos-2.x.git] / tos / lib / tosthreads / system / BlockingAMReceiverC.nc
index 594354143d1151e41e849eef9c866016ead7a97e..0bbd0b7f159ddd211282420fd553ae82defa85c1 100644 (file)
@@ -31,6 +31,7 @@
  
 /**
  * @author Kevin Klues (klueska@cs.stanford.edu)
+ * @author Chieh-Jan Mike Liang (cliang4@cs.jhu.edu)
  */
 
 #include "AM.h"
@@ -46,7 +47,7 @@ implementation {
   components ActiveMessageC;
   components BlockingActiveMessageC as AM;
   BlockingReceive = AM.BlockingReceive[amId];
-  AM.Receive[amId] -> ActiveMessageC.Receive[amId];
+  AM.Receive[amId] -> ActiveMessageC.ReceiveDefault[amId];
   
   Packet = AM;
   AMPacket = AM;