模块升级时关闭注网
This commit is contained in:
parent
a66314ed39
commit
73a4ba3c67
|
@ -264,6 +264,11 @@ SINT32 sf_USB_net_init(void)
|
|||
static U16 flag = 0;
|
||||
UIMenuStoreInfo *puiPara = sf_app_ui_para_get();
|
||||
|
||||
if (!sf_app_while_flag())
|
||||
{
|
||||
printf("[%s:%d]is update ... \n", __FUNCTION__, __LINE__);
|
||||
return;
|
||||
}
|
||||
if (flag == 0)
|
||||
{
|
||||
flag = 1;
|
||||
|
|
|
@ -1264,6 +1264,7 @@ UINT32 sf_4g_update(UINT8 *upFname)
|
|||
printf("[%s:%d] cmd:%s\n", __FUNCTION__, __LINE__,cmdStr);
|
||||
|
||||
if (ret == SF_SUCCESS) {
|
||||
system("killall quectel-CM-EG91");
|
||||
ret = system(cmdStr);
|
||||
if (sf_poweron_type_get() == SF_MCU_STARTUP_RING) {
|
||||
sleep(2);
|
||||
|
|
Loading…
Reference in New Issue
Block a user