AP_Arming: make arm_checks() virtual

# Conflicts:
#	libraries/AP_Arming/AP_Arming.h
This commit is contained in:
Andrew Tridgell 2019-04-22 11:13:23 +10:00
parent 352546c9f0
commit 9c6c4101c9

View File

@ -61,7 +61,7 @@ public:
// some arming checks have side-effects, or require some form of state
// change to have occurred, and thus should not be done as pre-arm
// checks. Those go here:
bool arm_checks(AP_Arming::Method method);
virtual bool arm_checks(AP_Arming::Method method);
// get expected magnetic field strength
uint16_t compass_magfield_expected() const;