mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_BattMonitor: add default pins and values for BeagleBone Blue
This commit is contained in:
parent
adde7bc588
commit
8da1252959
@ -57,6 +57,12 @@
|
|||||||
# define AP_BATT_VOLTDIVIDER_DEFAULT 10.1f
|
# define AP_BATT_VOLTDIVIDER_DEFAULT 10.1f
|
||||||
# define AP_BATT_CURR_AMP_PERVOLT_DEFAULT 17.0f
|
# define AP_BATT_CURR_AMP_PERVOLT_DEFAULT 17.0f
|
||||||
|
|
||||||
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX && CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BLUE
|
||||||
|
# define AP_BATT_VOLT_PIN 0
|
||||||
|
# define AP_BATT_CURR_PIN 1
|
||||||
|
# define AP_BATT_VOLTDIVIDER_DEFAULT 10.1f
|
||||||
|
# define AP_BATT_CURR_AMP_PERVOLT_DEFAULT 17.0f
|
||||||
|
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX && CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_POCKET
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX && CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_POCKET
|
||||||
# define AP_BATT_VOLT_PIN 0
|
# define AP_BATT_VOLT_PIN 0
|
||||||
# define AP_BATT_CURR_PIN 1
|
# define AP_BATT_CURR_PIN 1
|
||||||
|
Loading…
Reference in New Issue
Block a user