加入电压电流数据传输的消息队列,取消直接访问变量

This commit is contained in:
不吃油炸鸡
2026-03-19 11:18:06 +08:00
parent 3a720a9088
commit 4f6bd98b96
6 changed files with 73 additions and 8 deletions

View File

@@ -11,7 +11,12 @@ extern "C" {
#include "lvgl.h"
#include "stdio.h"
///////////////////// help funtions ////////////////////
///////////////////// ui variables ////////////////////
extern float ui_current_voltage;
extern float ui_current_current;
///////////////////// help functions ////////////////////
void ui_full_screen_refresh(lv_obj_t * screen);
@@ -34,6 +39,7 @@ void ui_set_back_light_level(uint8_t level);
void ui_set_key_sound_enable(bool enable);
void ui_set_language_select(uint8_t lang);
void ui_set_display_rotation(uint16_t rotation);
void ui_update_vol_cur_varables(float voltage, float current);
void ui_clear_data_monitor(void);
// sys save function