Browse Source

AP_Arming: make arm_checks() virtual

# Conflicts:
#	libraries/AP_Arming/AP_Arming.h
master
Andrew Tridgell 6 years ago
parent
commit
9c6c4101c9
  1. 2
      libraries/AP_Arming/AP_Arming.h

2
libraries/AP_Arming/AP_Arming.h

@ -61,7 +61,7 @@ public: @@ -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;

Loading…
Cancel
Save