Fix missing splashscreen

Fix a bug where the splashscreen was not showing on radios with GPS
enabled.
pull/116/head
Niccolò Izzo 2022-09-24 22:09:32 +02:00
rodzic 6a9ce50f6b
commit d395afd370
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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()