Fix missing splashscreen
Fix a bug where the splashscreen was not showing on radios with GPS enabled.
This commit is contained in:
parent
6a9ce50f6b
commit
d395afd370
|
|
@ -74,10 +74,10 @@ void openrtx_init()
|
||||||
// Detect and initialise GPS
|
// Detect and initialise GPS
|
||||||
state.gpsDetected = gps_detect(1000);
|
state.gpsDetected = gps_detect(1000);
|
||||||
if(state.gpsDetected) gps_init(9600);
|
if(state.gpsDetected) gps_init(9600);
|
||||||
#else
|
#endif
|
||||||
|
|
||||||
// Keep the splash screen for 1 second
|
// Keep the splash screen for 1 second
|
||||||
sleepFor(1u, 0u);
|
sleepFor(1u, 0u);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void *openrtx_run()
|
void *openrtx_run()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue