diff --git a/code/application/source/sf_app/code/source/app/sf_service.c b/code/application/source/sf_app/code/source/app/sf_service.c index 08ca4989c..c1dc92b39 100755 --- a/code/application/source/sf_app/code/source/app/sf_service.c +++ b/code/application/source/sf_app/code/source/app/sf_service.c @@ -1829,7 +1829,8 @@ static SINT32 app_Register_Net_startup_mode(SF_FN_PARAM_S *pfnParam) s32ret = sf_get_utc(); - if ((SF_ON == pCustomerParam->GpsSwitch)) { + if ((SF_ON == pCustomerParam->GpsSwitch) || (pCustomerParam->FristSendDailyAndGps)) + { s32ret = open_gps(s32ret); } if (0 != sf_get_cq_signal()) { @@ -1867,7 +1868,8 @@ static SINT32 app_Register_Net_startup_mode(SF_FN_PARAM_S *pfnParam) set_at_parament(); sf_USB_net_init(); - if ((SF_ON == pCustomerParam->GpsSwitch)) { + if ((SF_ON == pCustomerParam->GpsSwitch) || (pCustomerParam->FristSendDailyAndGps)) + { const int KEEP_SERACHING_TIMEOUT_MS = 2000; const int KEEP_SERACHING_PERIOD_MS = 200; // keep_seraching_gps_location(KEEP_SERACHING_TIMEOUT_S);