AP_Arming: remove unused set_enabled_checks

This commit is contained in:
Randy Mackay 2016-12-28 14:45:47 +09:00
parent 34a850e1a5
commit d35a208dae
2 changed files with 0 additions and 7 deletions

View File

@ -115,11 +115,6 @@ uint16_t AP_Arming::get_enabled_checks()
return checks_to_perform;
}
void AP_Arming::set_enabled_checks(uint16_t ap)
{
checks_to_perform = ap;
}
bool AP_Arming::barometer_checks(bool report)
{
if ((checks_to_perform & ARMING_CHECK_ALL) ||

View File

@ -82,8 +82,6 @@ protected:
uint32_t last_accel_pass_ms[INS_MAX_INSTANCES];
uint32_t last_gyro_pass_ms[INS_MAX_INSTANCES];
void set_enabled_checks(uint16_t);
bool barometer_checks(bool report);
bool airspeed_checks(bool report);