更新版本

This commit is contained in:
不吃油炸鸡
2026-03-19 15:49:03 +08:00
parent bc5047d7dc
commit 6772574af1
3 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@@ -1309,7 +1309,7 @@
<Group>
<GroupName>Middlewares/LVGL/Src</GroupName>
<tvExp>1</tvExp>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel>
<RteFlg>0</RteFlg>

View File

@@ -56,6 +56,10 @@ void LvHandlerTask(void *argument)
ui_update_vol_cur_varables(power_data.voltage, power_data.current);
}
_time = lv_timer_handler();
// 限制最大休眠时间,保证按键队列被及时读取
if(_time > 30) {
_time = 30;
}
osDelay(_time);
}
}