mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-24 00:35:34 +03:00
OSD: Increase initialization screen display time to take into consideration display init time and more if stats are enabled
This commit is contained in:
parent
9edad3bc2a
commit
fa44ff54f7
1 changed files with 1 additions and 2 deletions
|
@ -1747,8 +1747,7 @@ void osdInit(displayPort_t *osdDisplayPortToUse)
|
|||
#endif
|
||||
|
||||
displayResync(osdDisplayPort);
|
||||
|
||||
resumeRefreshAt = micros() + (4 * REFRESH_1S);
|
||||
resumeRefreshAt = micros() + ((statsConfig()->stats_enabled ? 10 : 4) + 2) * REFRESH_1S; // considering it takes about 2 seconds for the initialization screen to be displayed
|
||||
}
|
||||
|
||||
static void osdResetStats(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue