在主应用中更新显示驱动和 MQTT 主题

- 将显示驱动从 lvgl_st7735s_use 改为 lvgl_st7789_use,在 CMakeLists.txt 和 main.c 中。
- 将 MQTT 警报主题从“topic/alert/esp32_iothome_001”更新为“topic/alert/esp32_iothome_002”。
- 重构 UI 任务,去除周期性屏幕切换逻辑,专注于界面刷新。
- 调整错误处理,使新的显示驱动程序用于错误信息。
This commit is contained in:
Wang Beihong
2026-03-14 15:44:01 +08:00
parent 7ec1ed9111
commit bec31c01ce
12 changed files with 1686 additions and 249 deletions

View File

@@ -23,7 +23,7 @@ void loadScreen(enum ScreensEnum screenId) {
void ui_init() {
create_screens();
loadScreen(SCREEN_ID_TEMPERATURE);
loadScreen(SCREEN_ID_MAIN);
}