chore(color): implement publish/subscribe messaging to simplify code and further code consolidation (#7032)

This commit is contained in:
philmoz
2026-01-29 15:45:10 +10:00
committed by GitHub
parent 2579bc6132
commit 9a44335601
125 changed files with 1701 additions and 2054 deletions
+5 -5
View File
@@ -33,7 +33,6 @@
#include "tasks/mixer_task.h"
#if defined(COLORLCD)
#include "LvglWrapper.h"
#include "startup_shutdown.h"
#endif
@@ -55,14 +54,15 @@ bool perMainEnabled = true;
static void menusTask()
{
#if defined(COLORLCD)
LvglWrapper::instance();
#endif
edgeTxInit();
mixerTaskInit();
#if defined(COLORLCD) && defined(RTC_BACKUP_RAM)
if (UNEXPECTED_SHUTDOWN())
drawFatalErrorScreen(STR_EMERGENCY_MODE);
#endif
#if defined(PWR_BUTTON_PRESS)
while (task_running()) {
uint32_t pwr_check = pwrCheck();