]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
temporary fix: do not wire to CC2420ActiveMessageP if
authorgnawali <gnawali>
Tue, 25 Sep 2007 19:08:58 +0000 (19:08 +0000)
committergnawali <gnawali>
Tue, 25 Sep 2007 19:08:58 +0000 (19:08 +0000)
compiling for tossim

tos/lib/net/ctp/CtpP.nc

index ef3f476914e2442fed0a2f88a7ba861dc80cd87e..7cf98717b77d515284845d6171a43a7788d865fb 100644 (file)
@@ -188,7 +188,11 @@ implementation {
   Estimator.SubAMPacket -> SendControl;
 
 #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;
 #else