From 8d38a627a99e77de040c09da07a987318f37ca16 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 3 Feb 2021 10:48:15 +1100 Subject: [PATCH] Rover: move control_mode_reason up to AP_Vehicle --- Rover/Rover.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Rover/Rover.h b/Rover/Rover.h index ff081c9b06..f42ec68a6b 100644 --- a/Rover/Rover.h +++ b/Rover/Rover.h @@ -199,7 +199,6 @@ private: // This is the state of the flight control system // There are multiple states defined such as MANUAL, AUTO, ... Mode *control_mode; - ModeReason control_mode_reason = ModeReason::UNKNOWN; // Used to maintain the state of the previous control switch position // This is set to -1 when we need to re-read the switch