]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
changed polarity of led pins so that they're off!
authorayer1 <ayer1>
Fri, 8 Jan 2010 16:34:19 +0000 (16:34 +0000)
committerayer1 <ayer1>
Fri, 8 Jan 2010 16:34:19 +0000 (16:34 +0000)
tos/platforms/shimmer/MotePlatformC.nc
tos/platforms/shimmer2/MotePlatformC.nc

index 10d9792d530d9fa913d54ba08178c9b0da8689a0..4037abdebdca94090971a18f28ce5a5f6d46570c 100644 (file)
@@ -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
index 11886dd7f7ffcbc3dcc4f5ed78d85c2b33488914..880c531464918b11c5d32d438b091241781f2bf8 100644 (file)
@@ -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