1.優化rtos保存參數
This commit is contained in:
parent
2e036cea36
commit
bed9fa85bf
|
@ -151,6 +151,7 @@ UINT32 DrvGPIO_GetPhotoMovieModeFromMonitor(void)
|
||||||
if(gpio_getIntStatus(GPIO_INT_USBPLUGIN) || FALSE == (gpio_getPin(GPIO_CARD_DETECT) == 0 ? TRUE : FALSE))
|
if(gpio_getIntStatus(GPIO_INT_USBPLUGIN) || FALSE == (gpio_getPin(GPIO_CARD_DETECT) == 0 ? TRUE : FALSE))
|
||||||
{
|
{
|
||||||
g_uiBootMode = DX_HUNTING_MODE_OTHER;
|
g_uiBootMode = DX_HUNTING_MODE_OTHER;
|
||||||
|
Save_MenuInfo();
|
||||||
return g_uiBootMode;
|
return g_uiBootMode;
|
||||||
}
|
}
|
||||||
vos_perf_mark(&t1);
|
vos_perf_mark(&t1);
|
||||||
|
@ -176,6 +177,7 @@ UINT32 DrvGPIO_GetPhotoMovieModeFromMonitor(void)
|
||||||
case PWR_ON_TIME_SYNC://B
|
case PWR_ON_TIME_SYNC://B
|
||||||
case PWR_ON_TIME_SEND:
|
case PWR_ON_TIME_SEND:
|
||||||
#endif
|
#endif
|
||||||
|
Save_MenuInfo();
|
||||||
g_uiBootMode = DX_HUNTING_MODE_OTHER;
|
g_uiBootMode = DX_HUNTING_MODE_OTHER;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
|
@ -1768,9 +1768,9 @@ void sf_power_on_para_check_init(void)
|
||||||
sf_set_pir_sensitivity(puiPara->PirSensitivity);
|
sf_set_pir_sensitivity(puiPara->PirSensitivity);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if((PowerOnMode != PWR_ON_TIME_SEND) && (PowerOnMode != PWR_ON_TIMELAPSE) && (PowerOnMode != PWR_ON_PIR))
|
/*if((PowerOnMode != PWR_ON_TIME_SEND) && (PowerOnMode != PWR_ON_TIMELAPSE) && (PowerOnMode != PWR_ON_PIR))
|
||||||
{
|
{
|
||||||
Save_MenuInfo();
|
Save_MenuInfo();
|
||||||
}
|
}*/
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user