From 54b9ee319931a60a2fa0092fa07f516594fc77f2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 1 Aug 2022 19:01:33 +1000 Subject: [PATCH] hwdef: switched to pixracer LED scheme for Pixhawk6X --- libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X/hwdef.dat | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X/hwdef.dat index 5510d9db7b..a1c76a538a 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk6X/hwdef.dat @@ -268,11 +268,14 @@ PE3 LED_RED OUTPUT OPENDRAIN GPIO(90) HIGH PE4 LED_GREEN OUTPUT OPENDRAIN GPIO(91) HIGH PE5 LED_BLUE OUTPUT OPENDRAIN GPIO(92) HIGH -# setup for BoardLED2 +# setup for "pixracer" RGB LEDs define HAL_GPIO_A_LED_PIN 90 -define HAL_GPIO_B_LED_PIN 92 +define HAL_GPIO_B_LED_PIN 91 +define HAL_GPIO_C_LED_PIN 92 define HAL_GPIO_LED_ON 0 +define HAL_HAVE_PIXRACER_LED + # ID pins PG0 HW_VER_REV_DRIVE OUTPUT LOW # PH3 HW_VER_SENS ADC1 SCALE(1)