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); }