From 03d17437c3b414998f33d8a78268855ac559c3bc Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sat, 24 Jul 2021 15:04:10 +0100 Subject: [PATCH] Plane: mode_takeoff: call base mode constuctor --- ArduPlane/mode_takeoff.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduPlane/mode_takeoff.cpp b/ArduPlane/mode_takeoff.cpp index 37677541dc..e30dbf0164 100644 --- a/ArduPlane/mode_takeoff.cpp +++ b/ArduPlane/mode_takeoff.cpp @@ -44,7 +44,8 @@ const AP_Param::GroupInfo ModeTakeoff::var_info[] = { AP_GROUPEND }; -ModeTakeoff::ModeTakeoff() +ModeTakeoff::ModeTakeoff() : + Mode() { AP_Param::setup_object_defaults(this, var_info); }