mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 18:48:30 -04:00
AP_Arming: make arm_checks() virtual
# Conflicts: # libraries/AP_Arming/AP_Arming.h
This commit is contained in:
parent
352546c9f0
commit
9c6c4101c9
@ -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…
Reference in New Issue
Block a user