Fixed bug number 10292.

This commit is contained in:
xiaojiazhu 2023-12-06 17:49:35 +08:00
parent d63f994fff
commit f5ee68317b

View File

@ -156,7 +156,7 @@ INT32 System_GetBootFirstMode(void)
printf("%s:%d CamMode :%d\n", __FUNCTION__, __LINE__,puiPara->CamMode); printf("%s:%d CamMode :%d\n", __FUNCTION__, __LINE__,puiPara->CamMode);
if(GxUSB_GetIsUSBPlug()) if(GxUSB_GetIsUSBPlug())
{ {
return PRIMARY_MODE_PHOTO; return PRIMARY_MODE_USBMSDC;
} }
else if((PWR_ON_SETUP != PowerOnMode) /*|| (sf_get_fw_update())*/) else if((PWR_ON_SETUP != PowerOnMode) /*|| (sf_get_fw_update())*/)
{ {