From a2fbcd174e6ce9bd55125987439f92a6b58aee78 Mon Sep 17 00:00:00 2001
From: Federico Lolli <federico.lolli@skywarder.eu>
Date: Fri, 7 Jun 2024 10:53:35 +0200
Subject: [PATCH] [ARP] Add log number to ARP_TM

---
 skyward-boardcore                                  | 2 +-
 src/boards/Groundstation/Automated/BoardStatus.cpp | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/skyward-boardcore b/skyward-boardcore
index 92ef9a829..854a5c55c 160000
--- a/skyward-boardcore
+++ b/skyward-boardcore
@@ -1 +1 @@
-Subproject commit 92ef9a82917ca18777f3654d46b2ad9d5104fdd2
+Subproject commit 854a5c55c14c40a5c0ab3988b509f7b682c96ad1
diff --git a/src/boards/Groundstation/Automated/BoardStatus.cpp b/src/boards/Groundstation/Automated/BoardStatus.cpp
index 3283aeac5..3ff0f2cd9 100644
--- a/src/boards/Groundstation/Automated/BoardStatus.cpp
+++ b/src/boards/Groundstation/Automated/BoardStatus.cpp
@@ -97,6 +97,7 @@ void BoardStatus::run()
         tm.gps_longitude = vn300.longitude; /*< [deg] Longitude*/
         tm.gps_height    = vn300.altitude;  /*< [m] Altitude*/
         tm.gps_fix       = vn300.fix_ins;   /*<  Wether the GPS has a FIX*/
+        tm.log_number   = Logger::getInstance().getCurrentLogNumber(); /*<  Log number*/
 
         tm.battery_voltage = -420.0;
 
-- 
GitLab