fix(color): play startup 'hello' audio before Lua widgets (#7096)
This commit is contained in:
+11
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user