倒计时时序完善
This commit is contained in:
parent
74eac342bf
commit
fd98f2785e
|
@ -51,8 +51,15 @@ static void task_msgbox_timer_cb(lv_task_t* task)
|
|||
msgbox_timer = NULL;
|
||||
if (msgbox)
|
||||
{
|
||||
printf("msg box close delay 1000.\n");
|
||||
lv_msgbox_start_auto_close(msgbox, 1000);
|
||||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user