mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
HAL_ChibiOS: fixed LEDs on CUAVv5Nano
need to be opendrain
This commit is contained in:
parent
004ce407f4
commit
f167b65b1f
@ -55,9 +55,10 @@ PE12 LED_SAFETY OUTPUT
|
||||
PE10 SAFETY_IN INPUT PULLDOWN
|
||||
|
||||
# extra LEDs, active low, used using the pixracer LED scheme
|
||||
PH10 LED_R OUTPUT HIGH GPIO(0)
|
||||
PH11 LED_G OUTPUT HIGH GPIO(1)
|
||||
PH12 LED_B OUTPUT HIGH GPIO(2)
|
||||
# must be opendrain as supply for LEDs is 5V
|
||||
PH10 LED_R1 OUTPUT OPENDRAIN HIGH GPIO(0)
|
||||
PH11 LED_G1 OUTPUT OPENDRAIN HIGH GPIO(1)
|
||||
PH12 LED_B1 OUTPUT OPENDRAIN HIGH GPIO(2)
|
||||
|
||||
undef HAL_GPIO_A_LED_PIN
|
||||
undef HAL_GPIO_B_LED_PIN
|
||||
|
Loading…
Reference in New Issue
Block a user