1.power off信息统计
This commit is contained in:
parent
881afe2be8
commit
3ff91d1451
|
@ -894,21 +894,15 @@ UINT8 *sf_versionGet(UINT8 ver[],UINT8 fea[])
|
||||||
*************************************************/
|
*************************************************/
|
||||||
void sf_power_off(void)
|
void sf_power_off(void)
|
||||||
{
|
{
|
||||||
UINT8 PowerOnMode = sf_poweron_type_get();
|
// UINT8 PowerOnMode = sf_poweron_type_get();
|
||||||
printf("[%s:%d] s\n", __FUNCTION__, __LINE__);
|
printf("[%s:%d] s\n", __FUNCTION__, __LINE__);
|
||||||
if(SF_FAILURE == sf_check_sd())
|
if(SF_FAILURE == sf_check_sd())
|
||||||
{
|
{
|
||||||
MLOGE("ERROR sf_check_sd\n");
|
MLOGE("ERROR sf_check_sd\n");
|
||||||
}
|
}
|
||||||
//UIMenuStoreInfo *puiPara = sf_app_ui_para_get();
|
|
||||||
SF_PDT_PARAM_STATISTICS_S *psfPara = sf_statistics_param_get();
|
|
||||||
|
|
||||||
if((PowerOnMode == PWR_ON_TIMELAPSE) || (PowerOnMode == PWR_ON_PIR))
|
|
||||||
{
|
|
||||||
psfPara->TirgNum++;
|
|
||||||
printf("TirgNum=%d\n", psfPara->TirgNum);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
sf_power_off_statistics();
|
||||||
|
|
||||||
sf_power_off_check_sms();
|
sf_power_off_check_sms();
|
||||||
|
|
||||||
sf_power_off_module_ota();
|
sf_power_off_module_ota();
|
||||||
|
@ -932,7 +926,7 @@ void sf_power_off(void)
|
||||||
sf_power_off_check_camera_restart();
|
sf_power_off_check_camera_restart();
|
||||||
|
|
||||||
sf_power_off_check_ui_para_sava();
|
sf_power_off_check_ui_para_sava();
|
||||||
sf_statistics_param_save(psfPara);
|
sf_statistics_param_save(sf_statistics_param_get());
|
||||||
|
|
||||||
sf_power_off_msg_to_cardv();
|
sf_power_off_msg_to_cardv();
|
||||||
printf("[%s:%d] e\n", __FUNCTION__, __LINE__);
|
printf("[%s:%d] e\n", __FUNCTION__, __LINE__);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user