From 87fd9fcc067d8115624170ee0f934c1f75e19633 Mon Sep 17 00:00:00 2001 From: px4dev Date: Mon, 5 Nov 2012 00:54:08 -0800 Subject: [PATCH] Fix red/blue LED assignment. --- apps/px4io/px4io.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/px4io/px4io.h b/apps/px4io/px4io.h index 7aef881020..096b109d61 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))