From 62729a1586972a59e1380b74769e2cd05f5ee162 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicol=C3=B2=20Caruso?= <niccolo.caruso@skywarder.eu>
Date: Wed, 2 Oct 2024 15:17:13 +0200
Subject: [PATCH] [GS] Added sleep to entrypoint

Added a sleep to the entrypoint before starting modules.
This should fix a problem with the VN300 seen as not initialized
---
 src/entrypoints/Groundstation/lyra-gs-entry.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/entrypoints/Groundstation/lyra-gs-entry.cpp b/src/entrypoints/Groundstation/lyra-gs-entry.cpp
index 48c7767c8..dd93dc87b 100644
--- a/src/entrypoints/Groundstation/lyra-gs-entry.cpp
+++ b/src/entrypoints/Groundstation/lyra-gs-entry.cpp
@@ -209,6 +209,10 @@ int main()
 
     // Start the modules
 
+    ledOn();
+    Thread::sleep(2000);
+    ledOff();
+
     // ARP start errors
     bool init_fatal = false;
 
-- 
GitLab