From 3d9aca4688746d7294ed65d73471aeb2747be272 Mon Sep 17 00:00:00 2001 From: xiaojiazhu Date: Thu, 30 Nov 2023 11:23:00 +0800 Subject: [PATCH] Fixed bug number 9783. --- .../UIFlowPhoto/UIFlowPhotoEventCallback.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/code/application/source/cardv/SrcCode/UIWnd/LVGL_SPORTCAM/UIFlowLVGL/UIFlowPhoto/UIFlowPhotoEventCallback.c b/code/application/source/cardv/SrcCode/UIWnd/LVGL_SPORTCAM/UIFlowLVGL/UIFlowPhoto/UIFlowPhotoEventCallback.c index f8fb8c096..3d9fa8d8e 100755 --- a/code/application/source/cardv/SrcCode/UIWnd/LVGL_SPORTCAM/UIFlowLVGL/UIFlowPhoto/UIFlowPhotoEventCallback.c +++ b/code/application/source/cardv/SrcCode/UIWnd/LVGL_SPORTCAM/UIFlowLVGL/UIFlowPhoto/UIFlowPhotoEventCallback.c @@ -1835,7 +1835,12 @@ static void UIFlowPhoto_Key(lv_obj_t* obj, uint32_t key) case LV_USER_KEY_PREV: case LV_USER_KEY_ZOOMOUT: { - if (SF_WIFI_CON != sf_get_wifi_status()) + if(TRUE == sf_get_send_statu()) + { + printf("\r\n[%s] line:%d %d running\n", __FUNCTION__, __LINE__,key); + break; + } + if (SF_WIFI_CON != sf_get_wifi_status() && SF_BLE_CON != sf_get_ble_status()) { // UIFlowPhoto_OnExeZoomOutStart(obj); UIFlowPhoto_OnExeOpenPlayScreen(obj); @@ -1846,9 +1851,14 @@ static void UIFlowPhoto_Key(lv_obj_t* obj, uint32_t key) case LV_USER_KEY_MENU: case LV_USER_KEY_RIGHT: { + if(TRUE == sf_get_send_statu()) + { + printf("\r\n[%s] line:%d %d running\n", __FUNCTION__, __LINE__,key); + break; + } SF_WIFI_STATUS_E status = sf_get_wifi_status(); ShutDownTime = MENU_GO_TO_WORK_MODE_TIME_S; - if (SF_WIFI_CON != status) + if (SF_WIFI_CON != status && SF_BLE_CON != sf_get_ble_status()) { UIFlowPhoto_OnKeyMenu(obj); }