From 87486739d12a005755f2c8efa3d069035971ec5e Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Thu, 21 Jan 2021 11:48:01 +1100 Subject: [PATCH] Plane: disallow changing to INITIALISING mode --- ArduPlane/mode.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ArduPlane/mode.h b/ArduPlane/mode.h index 299e73bde3..0b8ae0228f 100644 --- a/ArduPlane/mode.h +++ b/ArduPlane/mode.h @@ -315,6 +315,8 @@ public: const char *name() const override { return "INITIALISING"; } const char *name4() const override { return "INIT"; } + bool _enter() override { return false; } + // methods that affect movement of the vehicle in this mode void update() override { }