mirror of https://github.com/ArduPilot/ardupilot
Plane: Use arming voltage
This commit is contained in:
parent
21bdf32d33
commit
0117522998
|
@ -117,8 +117,8 @@ class AP_Arming_Plane : public AP_Arming
|
|||
{
|
||||
public:
|
||||
AP_Arming_Plane(const AP_AHRS &ahrs_ref, const AP_Baro &baro, Compass &compass,
|
||||
const enum HomeState &home_set) :
|
||||
AP_Arming(ahrs_ref, baro, compass, home_set) {
|
||||
const AP_BattMonitor &battery, const enum HomeState &home_set) :
|
||||
AP_Arming(ahrs_ref, baro, compass, battery, home_set) {
|
||||
AP_Param::setup_object_defaults(this, var_info);
|
||||
}
|
||||
bool pre_arm_checks(bool report);
|
||||
|
@ -707,7 +707,7 @@ private:
|
|||
#endif
|
||||
|
||||
// Arming/Disarming mangement class
|
||||
AP_Arming_Plane arming {ahrs, barometer, compass, home_is_set };
|
||||
AP_Arming_Plane arming {ahrs, barometer, compass, battery, home_is_set };
|
||||
|
||||
AP_Param param_loader {var_info};
|
||||
|
||||
|
|
Loading…
Reference in New Issue