mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_ChibiOS: swap Pixhawk4 blue and red LEDs
This commit is contained in:
parent
70e041d611
commit
b1e5e21d6d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue