1.修復升級后可能不保存參數問題

This commit is contained in:
payton 2023-09-01 11:25:28 +08:00
parent 0862e78ca3
commit 59cc62fce6

View File

@ -1767,5 +1767,10 @@ void sf_power_on_para_check_init(void)
#if SF_HW_TEST != ENABLE
sf_set_pir_sensitivity(puiPara->PirSensitivity);
#endif
if((PowerOnMode != PWR_ON_TIME_SEND) && (PowerOnMode != PWR_ON_TIMELAPSE) && (PowerOnMode != PWR_ON_PIR))
{
Save_MenuInfo();
}
#endif
}