mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_BattMonitor: initial FMUv4pro support
This commit is contained in:
parent
f82dc7f12a
commit
3f360c6ef4
@ -11,7 +11,7 @@
|
||||
# define AP_BATT_CURR_PIN 101
|
||||
# define AP_BATT_VOLTDIVIDER_DEFAULT 1.1f
|
||||
# define AP_BATT_CURR_AMP_PERVOLT_DEFAULT 17.0f
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4 && (defined(CONFIG_ARCH_BOARD_PX4FMU_V2) || defined(CONFIG_ARCH_BOARD_PX4FMU_V4))
|
||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_PX4 && (defined(CONFIG_ARCH_BOARD_PX4FMU_V2) || defined(CONFIG_ARCH_BOARD_PX4FMU_V4) || defined(CONFIG_ARCH_BOARD_PX4FMU_V4PRO))
|
||||
// pixhawk
|
||||
# define AP_BATT_VOLT_PIN 2
|
||||
# define AP_BATT_CURR_PIN 3
|
||||
|
Loading…
Reference in New Issue
Block a user