diff --git a/firmware/PowerPico_Firmware_v1.0.7.bin b/firmware/PowerPico_Firmware_v1.0.7.bin new file mode 100644 index 0000000..8a592fd Binary files /dev/null and b/firmware/PowerPico_Firmware_v1.0.7.bin differ diff --git a/software/Power_Pico/MDK-ARM/power_pico.uvoptx b/software/Power_Pico/MDK-ARM/power_pico.uvoptx index 45c6669..fee8666 100644 --- a/software/Power_Pico/MDK-ARM/power_pico.uvoptx +++ b/software/Power_Pico/MDK-ARM/power_pico.uvoptx @@ -1309,7 +1309,7 @@ Middlewares/LVGL/Src - 1 + 0 0 0 0 diff --git a/software/Power_Pico/User/Tasks/Src/user_LVGLTask.c b/software/Power_Pico/User/Tasks/Src/user_LVGLTask.c index eb8b441..5ac8b96 100644 --- a/software/Power_Pico/User/Tasks/Src/user_LVGLTask.c +++ b/software/Power_Pico/User/Tasks/Src/user_LVGLTask.c @@ -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); } }