1.1进入setup使用reboot重启系统
This commit is contained in:
parent
52f09283fc
commit
a32f7c314a
|
@ -803,7 +803,14 @@ void sf_mcu_dataready_ck(UINT8 startMode)
|
||||||
gModuleSleep = 0; //power off 4G module
|
gModuleSleep = 0; //power off 4G module
|
||||||
sf_set_power_off_flag(1);
|
sf_set_power_off_flag(1);
|
||||||
printf("[power off] %s(%d)\n", __FUNCTION__, __LINE__);
|
printf("[power off] %s(%d)\n", __FUNCTION__, __LINE__);
|
||||||
Ux_PostEvent(NVTEVT_SYSTEM_SHUTDOWN, 1, 0); //shutdown start
|
if((startMode == 1) && (PWR_ON_AUTO == sf_cardv_convert_power_on_mode()))
|
||||||
|
{
|
||||||
|
system("reboot");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Ux_PostEvent(NVTEVT_SYSTEM_SHUTDOWN, 1, 0); //shutdown start
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user