mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
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:
|
public:
|
||||||
AP_Arming_Plane(const AP_AHRS &ahrs_ref, const AP_Baro &baro, Compass &compass,
|
AP_Arming_Plane(const AP_AHRS &ahrs_ref, const AP_Baro &baro, Compass &compass,
|
||||||
const enum HomeState &home_set) :
|
const AP_BattMonitor &battery, const enum HomeState &home_set) :
|
||||||
AP_Arming(ahrs_ref, baro, compass, home_set) {
|
AP_Arming(ahrs_ref, baro, compass, battery, home_set) {
|
||||||
AP_Param::setup_object_defaults(this, var_info);
|
AP_Param::setup_object_defaults(this, var_info);
|
||||||
}
|
}
|
||||||
bool pre_arm_checks(bool report);
|
bool pre_arm_checks(bool report);
|
||||||
@ -707,7 +707,7 @@ private:
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Arming/Disarming mangement class
|
// 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};
|
AP_Param param_loader {var_info};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user