From c13e4fe6cafabd8d14d1bea5900b076e4b9bbee4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicol=C3=B2=20Caruso?= <nicolo.caruso@skywarder.eu>
Date: Thu, 8 May 2025 18:46:09 +0200
Subject: [PATCH] [ARP, submodules] Fixed SMA led, submodule for WIZ stats

Fixed an issue with SMA for the RED led in wrong cases

skyward-boardcore: Added wiz5500stats for debugging reasons
---
 skyward-boardcore                       | 2 +-
 src/Groundstation/Automated/SMA/SMA.cpp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/skyward-boardcore b/skyward-boardcore
index e2d8cc813..25467c398 160000
--- a/skyward-boardcore
+++ b/skyward-boardcore
@@ -1 +1 @@
-Subproject commit e2d8cc81345533753b81c1c8ed0e61fc3ba4b0a2
+Subproject commit 25467c398c7878442dbcbace8294b7b9e49e7c9d
diff --git a/src/Groundstation/Automated/SMA/SMA.cpp b/src/Groundstation/Automated/SMA/SMA.cpp
index a5064828e..09eaed190 100644
--- a/src/Groundstation/Automated/SMA/SMA.cpp
+++ b/src/Groundstation/Automated/SMA/SMA.cpp
@@ -328,7 +328,7 @@ State SMA::state_feedback(const Event& event)
         case EV_ENTRY:
         {
             logStatus(SMAState::FEEDBACK);
-            getModule<Leds>()->setOn(LedColor::RED);
+            getModule<Leds>()->setOff(LedColor::RED);
 
             // Set the gains for the no feedback phase
             if (!follower.setMaxGain(SMAConfig::YAW_GAIN_F,
-- 
GitLab