From 57eddd22bcb550d4c8702ec6a5a0124088d1b8dd Mon Sep 17 00:00:00 2001 From: Federico Lolli <federico.lolli@skywarder.eu> Date: Sat, 11 May 2024 11:36:55 +0200 Subject: [PATCH] [ARP] Fix SMController default state to suppress warning on switch --- .../Groundstation/Automated/SMController/SMController.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/boards/Groundstation/Automated/SMController/SMController.cpp b/src/boards/Groundstation/Automated/SMController/SMController.cpp index a5b34cd95..002bf4c82 100644 --- a/src/boards/Groundstation/Automated/SMController/SMController.cpp +++ b/src/boards/Groundstation/Automated/SMController/SMController.cpp @@ -220,6 +220,10 @@ void SMController::update() follower.setLastRocketNasState(predicted.getNasState()); break; } + default: + { + break; + } } } -- GitLab