Copter: prearm board voltage checks are called in parent class

This commit is contained in:
Peter Barker 2017-09-04 13:48:30 +10:00 committed by Randy Mackay
parent b8802ec5c2
commit 49dd5f4f80
3 changed files with 2 additions and 3 deletions

View File

@ -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)

View File

@ -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);

View File

@ -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);