AP_HAL_ChibiOS: swap Pixhawk4 blue and red LEDs

This commit is contained in:
Randy Mackay 2021-08-06 15:05:49 +09:00
parent 70e041d611
commit b1e5e21d6d
1 changed files with 8 additions and 0 deletions

View File

@ -3,6 +3,14 @@
include ../fmuv5/hwdef.dat
# red and blue LEDs swapped vs fmuv5
# red LED marked as B/E
undef PB1
PB1 LED_RED OUTPUT OPENDRAIN GPIO(92)
# blue LED marked as ACT
undef PC7
PC7 LED_BLUE OUTPUT GPIO(90) HIGH
# setup for supplied power brick
undef HAL_BATT_VOLT_SCALE
define HAL_BATT_VOLT_SCALE 18.182