From: gnawali Date: Tue, 25 Sep 2007 19:08:58 +0000 (+0000) Subject: temporary fix: do not wire to CC2420ActiveMessageP if X-Git-Tag: release_tinyos_2_1_0_0~708 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=e3415abb9f9736adfac650be8b699eb30c890da6 temporary fix: do not wire to CC2420ActiveMessageP if compiling for tossim --- 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