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 7db42bb8f..1d6a0655c 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 @@ -71,6 +71,7 @@ static BOOL g_PhotoBgInitFileSys = FALSE; static BOOL g_SysStrg_Chg = FALSE; //#NT#2023/11/21#Eric - end +static void sf_show_send_text(lv_obj_t* obj, const unsigned short status); static lv_obj_t *g_preview_info_msgbox = NULL; static lv_obj_t *g_preview_info_label = NULL; static int g_preview_info_ishidden = true; @@ -600,14 +601,6 @@ static void update_4g_module_icon(void) // Nothing changed. // printf(" nothing changed.\n"); } - if (SENDING_NOT_SHOW < SendMsgShow) - { - SendMsgShow--; - if (SENDING_NOT_SHOW == SendMsgShow) - { - lv_obj_set_hidden(label_sim_scr_uiflowphoto, true); - } - } // if(sf_cardv_4G_status_get() == SF_4G_SENDING) // { @@ -635,6 +628,20 @@ const int EMPTY_IMAGE = 0; } static void update_gps_status(void) { + if (SENDING_NOT_SHOW < SendMsgShow) + { + SendMsgShow--; + if (SENDING_NOT_SHOW == SendMsgShow) + { + lv_obj_set_hidden(label_sim_scr_uiflowphoto, true); + } + return; + } + if (TRUE == sf_get_send_statu()) + { + sf_show_send_text(UIFlowPhoto, FILE_SENDING_GUI_START_SENDING); + return; + } SF_GPS_STATUS_E status = sf_cardv_get_gps_status(); switch (status) { diff --git a/code/lib/source/sifar/code/source/common/sf_common.c b/code/lib/source/sifar/code/source/common/sf_common.c index 51ac69fd1..f5c617799 100755 --- a/code/lib/source/sifar/code/source/common/sf_common.c +++ b/code/lib/source/sifar/code/source/common/sf_common.c @@ -2097,7 +2097,7 @@ void sf_ui_sending_show(unsigned short status) BOOL sf_get_send_statu(void) { - printf("[%s]:%d IsSend:%d\n", __FUNCTION__, __LINE__,IsSend); + // printf("[%s]:%d IsSend:%d\n", __FUNCTION__, __LINE__,IsSend); return IsSend; }