hwdef: switched to pixracer LED scheme for Pixhawk6X

This commit is contained in:
Andrew Tridgell 2022-08-01 19:01:33 +10:00 committed by Randy Mackay
parent 3109810f74
commit 54b9ee3199

View File

@ -268,11 +268,14 @@ PE3 LED_RED OUTPUT OPENDRAIN GPIO(90) HIGH
PE4 LED_GREEN OUTPUT OPENDRAIN GPIO(91) HIGH PE4 LED_GREEN OUTPUT OPENDRAIN GPIO(91) HIGH
PE5 LED_BLUE OUTPUT OPENDRAIN GPIO(92) 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_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_GPIO_LED_ON 0
define HAL_HAVE_PIXRACER_LED
# ID pins # ID pins
PG0 HW_VER_REV_DRIVE OUTPUT LOW PG0 HW_VER_REV_DRIVE OUTPUT LOW
# PH3 HW_VER_SENS ADC1 SCALE(1) # PH3 HW_VER_SENS ADC1 SCALE(1)