From e3415abb9f9736adfac650be8b699eb30c890da6 Mon Sep 17 00:00:00 2001 From: gnawali Date: Tue, 25 Sep 2007 19:08:58 +0000 Subject: [PATCH] temporary fix: do not wire to CC2420ActiveMessageP if compiling for tossim --- tos/lib/net/ctp/CtpP.nc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tos/lib/net/ctp/CtpP.nc b/tos/lib/net/ctp/CtpP.nc index ef3f4769..7cf98717 100644 --- a/tos/lib/net/ctp/CtpP.nc +++ b/tos/lib/net/ctp/CtpP.nc @@ -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 -- 2.39.2