aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorpx4dev <px4@purgatory.org>2012-11-05 00:54:08 -0800
committerpx4dev <px4@purgatory.org>2012-11-05 00:55:45 -0800
commit87fd9fcc067d8115624170ee0f934c1f75e19633 (patch)
tree35b8d8f16081d69afd3172b0d6f2d511616ac715 /apps
parentec43e7b7be69e4445c08ff8821de700e449a8f70 (diff)
downloadpx4-firmware-87fd9fcc067d8115624170ee0f934c1f75e19633.tar.gz
px4-firmware-87fd9fcc067d8115624170ee0f934c1f75e19633.tar.bz2
px4-firmware-87fd9fcc067d8115624170ee0f934c1f75e19633.zip
Fix red/blue LED assignment.
Diffstat (limited to 'apps')
-rw-r--r--apps/px4io/px4io.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/px4io/px4io.h b/apps/px4io/px4io.h
index 7aef88102..096b109d6 100644
--- a/apps/px4io/px4io.h
+++ b/apps/px4io/px4io.h
@@ -123,8 +123,8 @@ extern volatile int timers[TIMER_NUM_TIMERS];
/*
* GPIO handling.
*/
-#define LED_AMBER(_s) stm32_gpiowrite(GPIO_LED1, !(_s))
-#define LED_BLUE(_s) stm32_gpiowrite(GPIO_LED2, !(_s))
+#define LED_BLUE(_s) stm32_gpiowrite(GPIO_LED1, !(_s))
+#define LED_AMBER(_s) stm32_gpiowrite(GPIO_LED2, !(_s))
#define LED_SAFETY(_s) stm32_gpiowrite(GPIO_LED3, !(_s))
#define POWER_SERVO(_s) stm32_gpiowrite(GPIO_SERVO_PWR_EN, (_s))