fix(color): play startup 'hello' audio before Lua widgets (#7096)

This commit is contained in:
philmoz
2026-02-18 16:52:24 +10:00
committed by GitHub
parent 0df8d8650f
commit 2e609d8223
8 changed files with 28 additions and 47 deletions
+11 -3
View File
@@ -54,11 +54,13 @@
#endif
#if defined(COLORLCD)
#include "layout.h"
#include "radio_calibration.h"
#include "view_text.h"
#include "theme_manager.h"
#include "switch_warn_dialog.h"
#include "startup_shutdown.h"
#include "switch_warn_dialog.h"
#include "theme_manager.h"
#include "view_main.h"
#include "view_text.h"
#endif
#if defined(CROSSFIRE)
@@ -1197,6 +1199,8 @@ void edgeTxResume()
//TODO: needs to go into storageReadAll()
TRACE("reloading theme");
ThemePersistance::instance()->loadDefaultTheme();
LayoutFactory::loadCustomScreens();
ViewMain::instance()->show();
#endif
referenceSystemAudioFiles();
@@ -1568,6 +1572,10 @@ void edgeTxInit()
}
#endif // defined(GUI)
#if defined(COLORLCD)
LayoutFactory::loadCustomScreens();
#endif
#if defined(BLUETOOTH_PROBE)
extern volatile uint8_t btChipPresent;
auto oldBtMode = g_eeGeneral.bluetoothMode;