From bd534e426b566492aead9ee72beccc22dee645ac Mon Sep 17 00:00:00 2001 From: xiehongyan Date: Mon, 29 Jan 2024 15:47:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=80=92=E8=AE=A1=E6=97=B6=E6=89=93=E6=96=AD?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=BB=B6=E6=97=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UIFlowLVGL/UIFlowWrnMsg/UIFlowWrnMsgEventCallback.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/code/application/source/cardv/SrcCode/UIWnd/LVGL_SPORTCAM/UIFlowLVGL/UIFlowWrnMsg/UIFlowWrnMsgEventCallback.c b/code/application/source/cardv/SrcCode/UIWnd/LVGL_SPORTCAM/UIFlowLVGL/UIFlowWrnMsg/UIFlowWrnMsgEventCallback.c index ffb93b26a..d200c61ea 100755 --- a/code/application/source/cardv/SrcCode/UIWnd/LVGL_SPORTCAM/UIFlowLVGL/UIFlowWrnMsg/UIFlowWrnMsgEventCallback.c +++ b/code/application/source/cardv/SrcCode/UIWnd/LVGL_SPORTCAM/UIFlowLVGL/UIFlowWrnMsg/UIFlowWrnMsgEventCallback.c @@ -49,7 +49,7 @@ static void task_msgbox_timer_cb(lv_task_t* task) } if (0 == autoClose || autoOffTime <= 10) { - printf("[task_msgbox_timer_cb][*x]auto close\n"); + printf("[%s:%d]auto close.\n", __FUNCTION__, __LINE__); lv_task_del(msgbox_timer); msgbox_timer = NULL; @@ -57,11 +57,12 @@ static void task_msgbox_timer_cb(lv_task_t* task) { if (0 != autoClose) { - printf("msg box close delay 1000.\n"); - lv_msgbox_start_auto_close(msgbox, 1000); + printf("[%s:%d]msg box close.\n", __FUNCTION__, __LINE__); + lv_msgbox_start_auto_close(msgbox, 0); } else { + printf("[%s:%d]msg box close delay 5s.\n", __FUNCTION__, __LINE__); lv_msgbox_start_auto_close(msgbox, 5000); } }