mirror of https://github.com/ArduPilot/ardupilot
Copter: prearm board voltage checks are called in parent class
This commit is contained in:
parent
b8802ec5c2
commit
49dd5f4f80
|
@ -59,7 +59,6 @@ bool AP_Arming_Copter::pre_arm_checks(bool display_failure)
|
|||
|
||||
return rc_calibration_checks(display_failure)
|
||||
& fence_checks(display_failure)
|
||||
& board_voltage_checks(display_failure)
|
||||
& logging_checks(display_failure)
|
||||
& parameter_checks(display_failure)
|
||||
& motor_checks(display_failure)
|
||||
|
|
|
@ -35,10 +35,10 @@ protected:
|
|||
bool compass_checks(bool display_failure) override;
|
||||
bool gps_checks(bool display_failure) override;
|
||||
bool barometer_checks(bool display_failure) override;
|
||||
bool board_voltage_checks(bool display_failure) override;
|
||||
|
||||
// NOTE! the following check functions *DO NOT* call into AP_Arming!
|
||||
bool fence_checks(bool display_failure);
|
||||
bool board_voltage_checks(bool display_failure);
|
||||
bool parameter_checks(bool display_failure);
|
||||
bool motor_checks(bool display_failure);
|
||||
bool pilot_throttle_checks(bool display_failure);
|
||||
|
|
|
@ -99,7 +99,7 @@ protected:
|
|||
|
||||
bool hardware_safety_check(bool report);
|
||||
|
||||
bool board_voltage_checks(bool report);
|
||||
virtual bool board_voltage_checks(bool report);
|
||||
|
||||
bool manual_transmitter_checks(bool report);
|
||||
|
||||
|
|
Loading…
Reference in New Issue