From f744ac63d8c4c71b88200c2b5d402f8e51d8708e Mon Sep 17 00:00:00 2001 From: ayer1 Date: Fri, 8 Jan 2010 16:34:19 +0000 Subject: [PATCH] changed polarity of led pins so that they're off! --- tos/platforms/shimmer/MotePlatformC.nc | 8 ++++---- tos/platforms/shimmer2/MotePlatformC.nc | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tos/platforms/shimmer/MotePlatformC.nc b/tos/platforms/shimmer/MotePlatformC.nc index 10d9792d..4037abde 100644 --- a/tos/platforms/shimmer/MotePlatformC.nc +++ b/tos/platforms/shimmer/MotePlatformC.nc @@ -48,10 +48,10 @@ implementation { TOSH_SEL_ORANGE_LED_IOFUNC(); TOSH_SEL_GREEN_LED_IOFUNC(); - TOSH_CLR_RED_LED_PIN(); - TOSH_CLR_YELLOW_LED_PIN(); - TOSH_CLR_ORANGE_LED_PIN(); - TOSH_CLR_GREEN_LED_PIN(); + TOSH_SET_RED_LED_PIN(); + TOSH_SET_YELLOW_LED_PIN(); + TOSH_SET_ORANGE_LED_PIN(); + TOSH_SET_GREEN_LED_PIN(); //RADIO PINS //CC2420 pins diff --git a/tos/platforms/shimmer2/MotePlatformC.nc b/tos/platforms/shimmer2/MotePlatformC.nc index 11886dd7..880c5314 100644 --- a/tos/platforms/shimmer2/MotePlatformC.nc +++ b/tos/platforms/shimmer2/MotePlatformC.nc @@ -84,9 +84,9 @@ implementation { TOSH_SEL_GREEN_LED_IOFUNC(); TOSH_MAKE_GREEN_LED_OUTPUT(); - TOSH_CLR_RED_LED_PIN(); - TOSH_CLR_YELLOW_LED_PIN(); - TOSH_CLR_GREEN_LED_PIN(); + TOSH_SET_RED_LED_PIN(); + TOSH_SET_YELLOW_LED_PIN(); + TOSH_SET_GREEN_LED_PIN(); //RADIO PINS //CC2420 pins -- 2.39.2