mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-07 01:04:19 +08:00
Fix red/blue LED assignment.
This commit is contained in:
+2
-2
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user