From 2b890eda5303885fd958261d129a458bdc993da9 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 3 Feb 2021 10:48:15 +1100 Subject: [PATCH] ArduSub: move control_mode_reason up to AP_Vehicle --- ArduSub/Sub.h | 1 - 1 file changed, 1 deletion(-) diff --git a/ArduSub/Sub.h b/ArduSub/Sub.h index 00000fbc69..1f096ede03 100644 --- a/ArduSub/Sub.h +++ b/ArduSub/Sub.h @@ -214,7 +214,6 @@ private: // This is the state of the flight control system // There are multiple states defined such as STABILIZE, ACRO, control_mode_t control_mode; - ModeReason control_mode_reason = ModeReason::UNKNOWN; control_mode_t prev_control_mode; ModeReason prev_control_mode_reason = ModeReason::UNKNOWN;