mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_BattMonitor: Fixes the setting of a default parameter for battery instance #2 set in hwdef
This commit is contained in:
parent
8e32c1645e
commit
87b47d5ea1
@ -81,7 +81,7 @@ AP_BattMonitor_Analog::AP_BattMonitor_Analog(AP_BattMonitor &mon,
|
||||
_volt_multiplier.set_default(HAL_BATT2_VOLT_SCALE);
|
||||
#endif
|
||||
#ifdef HAL_BATT2_CURR_SCALE
|
||||
_curr_amp_per_volt.set_default(HAL_BATT2_VOLT_SCALE);
|
||||
_curr_amp_per_volt.set_default(HAL_BATT2_CURR_SCALE);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user