mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
hwdef: switched to pixracer LED scheme for Pixhawk6X
This commit is contained in:
parent
3109810f74
commit
54b9ee3199
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user