feat:重构空气温度处理并改进UI屏幕切换

- 从vars.c和vars.h中移除了空气温度整型变量及其相关的获取/设置函数
- 更新了FlowGlobalVariables枚举,移除了空气温度整型常量
- 修改了main.c中的UI任务,实现了每3秒切换屏幕的机制
- 清理了app_main函数,移除了空气温度整型的设置,仅保留字符串表示形式
This commit is contained in:
Wang Beihong
2026-03-06 22:54:22 +08:00
parent d532d037ab
commit cf3634bebb
16 changed files with 9759 additions and 70 deletions

View File

@@ -46,12 +46,3 @@ void set_var_light_intensity(const char *value) {
light_intensity[sizeof(light_intensity) / sizeof(char) - 1] = 0;
}
int32_t air_temperature_int;
int32_t get_var_air_temperature_int() {
return air_temperature_int;
}
void set_var_air_temperature_int(int32_t value) {
air_temperature_int = value;
}