From f8192249f3f9caa3e6b8e19ecd9f4d6a0c44ac03 Mon Sep 17 00:00:00 2001 From: jgko Date: Fri, 4 Dec 2009 23:17:35 +0000 Subject: [PATCH] changes to cc2420 TestSecurity app file for imote2s --- apps/tests/cc2420/TestSecurity/BaseStation/Makefile | 1 - apps/tests/cc2420/TestSecurity/RadioCountToLeds1/Makefile | 2 +- .../TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/tests/cc2420/TestSecurity/BaseStation/Makefile b/apps/tests/cc2420/TestSecurity/BaseStation/Makefile index e9ced69c..0015d833 100644 --- a/apps/tests/cc2420/TestSecurity/BaseStation/Makefile +++ b/apps/tests/cc2420/TestSecurity/BaseStation/Makefile @@ -4,6 +4,5 @@ CFLAGS += -DCC2420_NO_ADDRESS_RECOGNITION CFLAGS += -DCC2420_HW_SECURITY CFLAGS += -DTOSH_DATA_LENGTH=115 CFLAGS += -DTASKLET_IS_TASK - include $(MAKERULES) diff --git a/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/Makefile b/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/Makefile index e7c53eba..710ea3d4 100644 --- a/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/Makefile +++ b/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/Makefile @@ -4,5 +4,5 @@ CFLAGS+=-DCC2420_HW_SECURITY #CFLAGS+=-DCC2420_DEF_CHANNEL=25 CFLAGS+=-DPACKET_LINK CFLAGS+=-DTOSH_DATA_LENGTH=115 -CFLAGS+=-I%T/lib/printf +#CFLAGS+=-I%T/lib/printf include $(MAKERULES) diff --git a/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc b/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc index 91a70b39..fb6f2911 100644 --- a/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc +++ b/apps/tests/cc2420/TestSecurity/RadioCountToLeds1/RadioCountToLedsC.nc @@ -124,8 +124,8 @@ implementation { if (len != sizeof(radio_count_msg_t)) {return bufPtr;} else { radio_count_msg_t* rcm = (radio_count_msg_t*)payload; - printf("counter: %d len: %d\n",rcm->counter, len); - printfflush(); + //printf("counter: %d len: %d\n",rcm->counter, len); + //printfflush(); if (rcm->counter & 0x1) { call Leds.led0On(); } -- 2.39.2