From a97301c0f24239b5d0cefbc4a76fa933fd0ea5c7 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 25 Jan 2018 11:34:57 +1100 Subject: [PATCH] Copter: do not allow arming in RTL --- ArduCopter/mode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/mode.h b/ArduCopter/mode.h index f15caa780f..ff41942e36 100644 --- a/ArduCopter/mode.h +++ b/ArduCopter/mode.h @@ -901,7 +901,7 @@ public: bool requires_GPS() const override { return true; } bool has_manual_throttle() const override { return false; } - bool allows_arming(bool from_gcs) const override { return true; }; + bool allows_arming(bool from_gcs) const override { return false; }; bool is_autopilot() const override { return true; } RTLState state() { return _state; }