倒计时时序完善
This commit is contained in:
parent
74eac342bf
commit
fd98f2785e
|
@ -50,10 +50,17 @@ static void task_msgbox_timer_cb(lv_task_t* task)
|
|||
lv_task_del(msgbox_timer);
|
||||
msgbox_timer = NULL;
|
||||
if (msgbox)
|
||||
{
|
||||
if (0 != autoClose)
|
||||
{
|
||||
printf("msg box close delay 1000.\n");
|
||||
lv_msgbox_start_auto_close(msgbox, 1000);
|
||||
}
|
||||
else
|
||||
{
|
||||
lv_msgbox_start_auto_close(msgbox, 5000);
|
||||
}
|
||||
}
|
||||
if (0 == autoClose)
|
||||
{
|
||||
printf("[task_msgbox_timer_cb][*x]set statu flag\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user