Fixed bug number 9783.

This commit is contained in:
xiaojiazhu 2023-11-30 11:23:00 +08:00
parent 8633eba5e7
commit 3d9aca4688

View File

@ -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);
}