From c61feb9478cd28158c71867a7c6bd80a9cc50547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Caruso?= <nicolo.caruso@skywarder.eu> Date: Mon, 5 May 2025 13:42:58 +0200 Subject: [PATCH] [ARP] CI/CD format fix --- src/Groundstation/Automated/Hub.cpp | 4 ++-- src/Groundstation/Automated/Hub.h | 2 +- src/Groundstation/Automated/LogSniffing.h | 2 +- src/Groundstation/LyraGS/lyra-gs-entry.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Groundstation/Automated/Hub.cpp b/src/Groundstation/Automated/Hub.cpp index 02ca18864..7e95a699c 100644 --- a/src/Groundstation/Automated/Hub.cpp +++ b/src/Groundstation/Automated/Hub.cpp @@ -254,7 +254,7 @@ void Hub::dispatchOutgoingMsg(const mavlink_message_t& msg) * command but the telemetry spoofed, therefore is then used as incoming */ dispatchIncomingMsg(msg); - LogSniffing sniffing = {TimestampTimer::getTimestamp(),1}; + LogSniffing sniffing = {TimestampTimer::getTimestamp(), 1}; Logger::getInstance().log(sniffing); } } @@ -273,7 +273,7 @@ void Hub::dispatchIncomingMsg(const mavlink_message_t& msg) { mavlink_rocket_flight_tm_t rocketTM; mavlink_msg_rocket_flight_tm_decode(&msg, &rocketTM); - uint64_t timestamp = rocketTM.timestamp; + uint64_t timestamp = rocketTM.timestamp; TRACE( "[info][Radio/Sniffing] Hub: A FLIGHT_ROCKET_TM packet was " "received " diff --git a/src/Groundstation/Automated/Hub.h b/src/Groundstation/Automated/Hub.h index 30ca02482..12c78b197 100644 --- a/src/Groundstation/Automated/Hub.h +++ b/src/Groundstation/Automated/Hub.h @@ -22,6 +22,7 @@ #pragma once +#include <Groundstation/Automated/LogSniffing.h> #include <Groundstation/Automated/SMA/SMA.h> #include <Groundstation/Common/HubBase.h> #include <Groundstation/LyraGS/BoardStatus.h> @@ -33,7 +34,6 @@ #include <miosix.h> #include <sensors/SensorData.h> #include <utils/DependencyManager/DependencyManager.h> -#include <Groundstation/Automated/LogSniffing.h> namespace LyraGS { diff --git a/src/Groundstation/Automated/LogSniffing.h b/src/Groundstation/Automated/LogSniffing.h index 13d38523f..4b10019fb 100644 --- a/src/Groundstation/Automated/LogSniffing.h +++ b/src/Groundstation/Automated/LogSniffing.h @@ -43,4 +43,4 @@ struct LogSniffing } }; -} // namespace Boarcore +} // namespace Antennas diff --git a/src/Groundstation/LyraGS/lyra-gs-entry.cpp b/src/Groundstation/LyraGS/lyra-gs-entry.cpp index 24189763d..959829b5a 100644 --- a/src/Groundstation/LyraGS/lyra-gs-entry.cpp +++ b/src/Groundstation/LyraGS/lyra-gs-entry.cpp @@ -147,7 +147,7 @@ int main() << "\n\t Main radio backup: " << dipRead.mainHasBackup << "\n\t Payload radio backup: " << dipRead.payloadHasBackup << "\n\t Main TX: " << dipRead.mainTXenable - << "\n\t Main TX: " << dipRead.payloadTXenable + << "\n\t Main TX: " << dipRead.payloadTXenable << "\n\t Ip offset: " << (int)dipRead.ipConfig << "\n"; DependencyManager manager; -- GitLab