From d395afd37030fa926dd630af97c445bd39e3e948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Izzo?= Date: Sat, 24 Sep 2022 22:09:32 +0200 Subject: [PATCH] Fix missing splashscreen Fix a bug where the splashscreen was not showing on radios with GPS enabled. --- openrtx/src/core/openrtx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openrtx/src/core/openrtx.c b/openrtx/src/core/openrtx.c index 52ec2926..8f3096af 100644 --- a/openrtx/src/core/openrtx.c +++ b/openrtx/src/core/openrtx.c @@ -74,10 +74,10 @@ void openrtx_init() // Detect and initialise GPS state.gpsDetected = gps_detect(1000); if(state.gpsDetected) gps_init(9600); - #else + #endif + // Keep the splash screen for 1 second sleepFor(1u, 0u); - #endif } void *openrtx_run()