mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-30 12:38:33 -04:00
Plane: removed INPUT_VOLTS parameter
no longer needed
This commit is contained in:
parent
00e905b025
commit
e0e22b63a7
@ -108,7 +108,7 @@ public:
|
|||||||
k_param_battery_monitoring,
|
k_param_battery_monitoring,
|
||||||
k_param_volt_div_ratio,
|
k_param_volt_div_ratio,
|
||||||
k_param_curr_amp_per_volt,
|
k_param_curr_amp_per_volt,
|
||||||
k_param_input_voltage,
|
k_param_input_voltage, // deprecated, can be deleted
|
||||||
k_param_pack_capacity,
|
k_param_pack_capacity,
|
||||||
k_param_sonar_enabled,
|
k_param_sonar_enabled,
|
||||||
k_param_ahrs, // AHRS group
|
k_param_ahrs, // AHRS group
|
||||||
@ -347,7 +347,6 @@ public:
|
|||||||
AP_Float volt_div_ratio;
|
AP_Float volt_div_ratio;
|
||||||
AP_Float curr_amp_per_volt;
|
AP_Float curr_amp_per_volt;
|
||||||
AP_Float curr_amp_offset;
|
AP_Float curr_amp_offset;
|
||||||
AP_Float input_voltage;
|
|
||||||
AP_Int32 pack_capacity; // Battery pack capacity less reserve
|
AP_Int32 pack_capacity; // Battery pack capacity less reserve
|
||||||
AP_Int8 rssi_pin;
|
AP_Int8 rssi_pin;
|
||||||
AP_Int8 battery_volt_pin;
|
AP_Int8 battery_volt_pin;
|
||||||
|
@ -556,8 +556,6 @@ const AP_Param::Info var_info[] PROGMEM = {
|
|||||||
// @User: Standard
|
// @User: Standard
|
||||||
GSCALAR(curr_amp_offset, "AMP_OFFSET", 0),
|
GSCALAR(curr_amp_offset, "AMP_OFFSET", 0),
|
||||||
|
|
||||||
GSCALAR(input_voltage, "INPUT_VOLTS", INPUT_VOLTAGE),
|
|
||||||
|
|
||||||
// @Param: BATT_CAPACITY
|
// @Param: BATT_CAPACITY
|
||||||
// @DisplayName: Battery capacity
|
// @DisplayName: Battery capacity
|
||||||
// @Description: Capacity of the battery in mAh when full
|
// @Description: Capacity of the battery in mAh when full
|
||||||
|
Loading…
Reference in New Issue
Block a user