diff --git a/src/Groundstation/Automated/Hub.cpp b/src/Groundstation/Automated/Hub.cpp index 02ca1886431698a13a46f8bb57f889506a93b25d..7e95a699c8f07eb88af64cc1c66c0c00f87c5185 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 30ca024829511f156e00c555fcc53401f95cf24a..12c78b197dfc9124862f69bd0e05749f4d0c4e52 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 13d38523f01adb1c6a32ab98365917d5a7da15ba..4b10019fb33bce44f833f23e8aef1439c64ab0ce 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 24189763de99fe3336d7a8124a5677c95249c8cf..959829b5abefca09b73ea510ec24fce021c7cd6b 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;