feat:重构空气温度处理并改进UI屏幕切换
- 从vars.c和vars.h中移除了空气温度整型变量及其相关的获取/设置函数 - 更新了FlowGlobalVariables枚举,移除了空气温度整型常量 - 修改了main.c中的UI任务,实现了每3秒切换屏幕的机制 - 清理了app_main函数,移除了空气温度整型的设置,仅保留字符串表示形式
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#include "images.h"
|
||||
|
||||
const ext_img_desc_t images[1] = {
|
||||
0
|
||||
const ext_img_desc_t images[4] = {
|
||||
{ "temp", &img_temp },
|
||||
{ "humi", &img_humi },
|
||||
{ "mois", &img_mois },
|
||||
{ "light", &img_light },
|
||||
};
|
||||
Reference in New Issue
Block a user