From: ayer1 Date: Fri, 8 Jan 2010 16:34:19 +0000 (+0000) Subject: changed polarity of led pins so that they're off! X-Git-Tag: rc_6_tinyos_2_1_1~68 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=f744ac63d8c4c71b88200c2b5d402f8e51d8708e changed polarity of led pins so that they're off! --- 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