From 9c6c4101c9fe9ab5561b9f7c0ab33cf9c44ff6f0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 22 Apr 2019 11:13:23 +1000 Subject: [PATCH] AP_Arming: make arm_checks() virtual # Conflicts: # libraries/AP_Arming/AP_Arming.h --- libraries/AP_Arming/AP_Arming.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Arming/AP_Arming.h b/libraries/AP_Arming/AP_Arming.h index f0a614e52c..bb29591661 100644 --- a/libraries/AP_Arming/AP_Arming.h +++ b/libraries/AP_Arming/AP_Arming.h @@ -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;