mirror of https://github.com/ArduPilot/ardupilot
AP_BattMonitor: Fixes the setting of a default parameter for battery instance #2 set in hwdef
This commit is contained in:
parent
fcb622c610
commit
0dedc4bf74
|
@ -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