Fix red/blue LED assignment.

This commit is contained in:
px4dev
2012-11-05 00:54:08 -08:00
parent ec43e7b7be
commit 87fd9fcc06
+2 -2
View File
@@ -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))