chore(color): implement publish/subscribe messaging to simplify code and further code consolidation (#7032)
This commit is contained in:
@@ -344,7 +344,8 @@ void handle_battery_charge(uint32_t last_press_time)
|
||||
if (!lcdInited) {
|
||||
lcdInited = true;
|
||||
backlightInit();
|
||||
lcdInitDisplayDriver();
|
||||
// Ensure lvgl is initialised before creating windows
|
||||
LvglWrapper::instance();
|
||||
}
|
||||
|
||||
if (updateTime == 0 || ((timersGetMsTick() - updateTime) >= 500))
|
||||
|
||||
Reference in New Issue
Block a user