diff --git a/libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat index fb0c96a687..e2ff94d682 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/fmuv5/hwdef.dat @@ -180,10 +180,18 @@ PB0 RSSI_IN ADC1 SCALE(1) PC0 VDD_5V_SENS ADC1 SCALE(2) PC1 SCALED_V3V3 ADC1 SCALE(2) +# setup scaling defaults for PixHackV5 power brick +define HAL_BATT_VOLT_SCALE 18.0 +define HAL_BATT_CURR_SCALE 24.0 define HAL_BATT_VOLT_PIN 0 define HAL_BATT_CURR_PIN 1 -define HAL_BATT_VOLT_SCALE 10.1 -define HAL_BATT_CURR_SCALE 17.0 + +# CAN bus +PI9 CAN1_RX CAN1 +PH13 CAN1_TX CAN1 + +PB12 CAN2_RX CAN2 +PB13 CAN2_TX CAN2 # GPIOs PA7 HEATER_EN OUTPUT LOW GPIO(80)