1.还原代码
This commit is contained in:
parent
8fb9574e78
commit
f23df7567c
|
@ -2367,19 +2367,10 @@ INT32 PhotoFast_SliceEncode_CB3(void* user_data)
|
||||||
* Output jpg file
|
* Output jpg file
|
||||||
******************************************************************/
|
******************************************************************/
|
||||||
extern INT32 PhotoFast_WriteFile(UINT32 Addr, UINT32 Size, UINT32 Fmt, UINT32 uiPathId, char* Path);
|
extern INT32 PhotoFast_WriteFile(UINT32 Addr, UINT32 Size, UINT32 Fmt, UINT32 uiPathId, char* Path);
|
||||||
INT32 waitFalg = 0;
|
|
||||||
#if SF_NO_SD_SEND == ENABLE
|
#if SF_NO_SD_SEND == ENABLE
|
||||||
// if(
|
if(
|
||||||
// PhotoFast_Wait_FileSys(FASTBOOT_WAIT_FILESYS_TIMEOUT_MS) != E_OK &&
|
PhotoFast_Wait_FileSys(FASTBOOT_WAIT_FILESYS_TIMEOUT_MS) != E_OK &&
|
||||||
// PhotoFast_Wait_FileNaming(FASTBOOT_WAIT_FILESYS_TIMEOUT_MS) != E_OK)
|
PhotoFast_Wait_FileNaming(FASTBOOT_WAIT_FILESYS_TIMEOUT_MS) != E_OK)
|
||||||
|
|
||||||
if(PhotoFast_Wait_FileSys(FASTBOOT_WAIT_FILESYS_TIMEOUT_MS) != E_OK){
|
|
||||||
if(PhotoFast_Wait_FileNaming(FASTBOOT_WAIT_FILESYS_TIMEOUT_MS) != E_OK){
|
|
||||||
waitFalg = 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(waitFalg)
|
|
||||||
{
|
{
|
||||||
DBG_WRN("filesys not ready, store data into mem\n");
|
DBG_WRN("filesys not ready, store data into mem\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user