diff --git a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk4/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk4/hwdef.dat index 910bcac2fe..a26f85d30d 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk4/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/Pixhawk4/hwdef.dat @@ -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