mirror of https://github.com/ArduPilot/ardupilot
HAL_ChibiOS: setup PH4 for right voltage scaling
This commit is contained in:
parent
a9982be6fc
commit
2c75272019
|
@ -11,3 +11,9 @@ undef AP_FEATURE_SBUS_OUT
|
|||
|
||||
# RCInput
|
||||
PI5 TIM8_CH1 TIM8 RCININT PULLUP LOW
|
||||
|
||||
# setup for supplied power brick
|
||||
undef HAL_BATT_VOLT_SCALE
|
||||
define HAL_BATT_VOLT_SCALE 18.182
|
||||
undef HAL_BATT_CURR_SCALE
|
||||
define HAL_BATT_CURR_SCALE 36.364
|
||||
|
|
|
@ -6,3 +6,9 @@ include ../fmuv5/hwdef.dat
|
|||
# use ChibiOS based IO firmware to avoid issue with SBUS
|
||||
# input. NuttX has no parity checking on UARTs
|
||||
ROMFS io_firmware.bin Tools/IO_Firmware/fmuv2_IO_ChibiOS.bin
|
||||
|
||||
# setup for supplied power brick
|
||||
undef HAL_BATT_VOLT_SCALE
|
||||
define HAL_BATT_VOLT_SCALE 18.182
|
||||
undef HAL_BATT_CURR_SCALE
|
||||
define HAL_BATT_CURR_SCALE 36.364
|
||||
|
|
Loading…
Reference in New Issue