refactor(color): use LVGL styles and objects for UI, legacy cleanup (#4407)

This commit is contained in:
philmoz
2024-04-05 17:33:14 +10:00
committed by GitHub
parent 5ff5c2ab8e
commit f28c1150ed
392 changed files with 18929 additions and 19492 deletions
+9 -1
View File
@@ -22,8 +22,16 @@
#include "opentx.h"
#include "inactivity_timer.h"
static bool splashStarted = false;
void startSplash()
{
splashStarted = true;
}
void cancelSplash()
{
splashStarted = false;
}
void waitSplash()
@@ -34,7 +42,7 @@ void waitSplash()
bool refresh = false;
#endif
if (SPLASH_NEEDED()) {
if (SPLASH_NEEDED() && splashStarted) {
resetBacklightTimeout();
drawSplash();