去掉图片错误弹窗, 添加network右键选择

This commit is contained in:
xiehongyan 2024-01-04 19:35:01 +08:00
parent 6be1c711d5
commit e0d2aea246
3 changed files with 5 additions and 4 deletions

View File

@ -633,7 +633,6 @@ void Option_Network_Selection_Key(lv_obj_t* obj, uint32_t key)
hidde_Network_Selection_page(); hidde_Network_Selection_page();
break; break;
case LV_USER_KEY_RIGHT: case LV_USER_KEY_RIGHT:
break;
case LV_KEY_ENTER: case LV_KEY_ENTER:
if(network_scan_task == NULL && network_select_task == NULL) if(network_scan_task == NULL && network_select_task == NULL)
{ {

View File

@ -1212,7 +1212,8 @@ static void FlowPlay_CheckFileAndRecovery(lv_obj_t* obj)
} }
} }
PBView_DrawErrorView(); PBView_DrawErrorView();
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PICTUREERROR, warn_msgbox_auto_close_ms); //UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PICTUREERROR, warn_msgbox_auto_close_ms);
printf("[FlowPlay_CheckFileAndRecovery]error picture");
} }
} }
@ -2333,7 +2334,8 @@ static void UIFlowPlay_StorageChange(lv_obj_t* obj, const LV_USER_EVENT_NVTMSG_D
static void UIFlowPlay_CB_Error(lv_obj_t* obj, const LV_USER_EVENT_NVTMSG_DATA* msg) static void UIFlowPlay_CB_Error(lv_obj_t* obj, const LV_USER_EVENT_NVTMSG_DATA* msg)
{ {
UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PICTUREERROR, warn_msgbox_auto_close_ms); //UIFlowWrnMsgAPI_Open_StringID(LV_PLUGIN_STRING_ID_STRID_PICTUREERROR, warn_msgbox_auto_close_ms);
printf("[UIFlowPlay_CB_Error]error picture");
} }
///================================callback event end============================================================================================ ///================================callback event end============================================================================================

View File

@ -258,7 +258,7 @@ void sf_mode_detect(void)
time=0; time=0;
printf("[*x] get pir statu : %d ...\n", sf_get_pir_statu_flag());
if((sf_get_pir_statu_flag()) && (!gpio_getPin(GPIO_KEY_TEST))) if((sf_get_pir_statu_flag()) && (!gpio_getPin(GPIO_KEY_TEST)))
{ {
timeBak++; timeBak++;