[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/tosthreads/csystem CAMRadioC.nc, 1.2, 1.3
Chieh-Jan Mike Liang
liang_mike at users.sourceforge.net
Fri Jul 11 19:26:01 PDT 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/tosthreads/csystem
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31983/tos/lib/tosthreads/csystem
Modified Files:
CAMRadioC.nc
Log Message:
Fix the CC2420 Receive.receive and Snoop.receive fan-out warnings. This happened when both TinyOS services and TOSThreads
apps want to use the radio. Now, TinyOS services have priority over TOSThreads apps on which AM ID they want to use.
Index: CAMRadioC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/tosthreads/csystem/CAMRadioC.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** CAMRadioC.nc 18 Jun 2008 04:22:58 -0000 1.2
--- CAMRadioC.nc 12 Jul 2008 02:25:59 -0000 1.3
***************
*** 44,49 ****
CAMP.PacketAcknowledgements -> AM;
! AM.Receive -> ActiveMessageC.Receive;
! AM.Snoop -> ActiveMessageC.Snoop;
AM.AMSend -> ActiveMessageC;
}
--- 44,49 ----
CAMP.PacketAcknowledgements -> AM;
! AM.Receive -> ActiveMessageC.ReceiveDefault;
! AM.Snoop -> ActiveMessageC.SnoopDefault;
AM.AMSend -> ActiveMessageC;
}
More information about the Tinyos-2-commits
mailing list