HAL_ChibiOS: fixed LEDs on new CUAVv5 revision

This commit is contained in:
Andrew Tridgell 2019-05-03 14:20:30 +10:00
parent 8d2f016cc8
commit 11021bbaa9
1 changed files with 3 additions and 3 deletions

View File

@ -4,9 +4,9 @@
include ../fmuv5/hwdef.dat
# 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)
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