[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/ctp CtpP.nc,1.6,1.7

Omprakash Gnawali gnawali at users.sourceforge.net
Tue Sep 25 12:09:00 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/net/ctp
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv6963

Modified Files:
	CtpP.nc 
Log Message:
temporary fix: do not wire to CC2420ActiveMessageP if 
compiling for tossim



Index: CtpP.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/ctp/CtpP.nc,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** CtpP.nc	24 Sep 2007 17:00:18 -0000	1.6
--- CtpP.nc	25 Sep 2007 19:08:58 -0000	1.7
***************
*** 189,193 ****
--- 189,197 ----
  
  #if defined(PLATFORM_TELOSB) || defined(PLATFORM_MICAZ)
+ #ifndef TOSSIM
    components CC2420ActiveMessageC as PlatformActiveMessageC;
+ #else
+   components DummyActiveMessageP as PlatformActiveMessageC;
+ #endif
  #elif defined (PLATFORM_MICA2) || defined (PLATFORM_MICA2DOT)
    components CC1000ActiveMessageC as PlatformActiveMessageC;



More information about the Tinyos-2-commits mailing list