hwdef: switched to pixracer LED scheme for Pixhawk6X

This commit is contained in:
Andrew Tridgell 2022-08-01 19:01:33 +10:00
parent f47585b235
commit 273fe51a71

View File

@ -267,11 +267,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 ADC3 SCALE(1)