1.Linux下存储判断
This commit is contained in:
parent
49bdf2d6c5
commit
76dac8eab4
|
@ -759,6 +759,12 @@ INT32 System_Set_Storage_Act_Drive(char drive)
|
|||
|
||||
DCF_HANDLE System_Get_DCF_Handle(void)
|
||||
{
|
||||
#if SF_AGEING_EMMC_TEST == ENABLE
|
||||
return 0;//emmc
|
||||
#endif
|
||||
#if SF_AGEING_SD_TEST == ENABLE
|
||||
return 1;//sd
|
||||
#endif
|
||||
#if USE_MMC_DEV_CHECK
|
||||
SF_ST_MMC_DEV *mmc_dev = SF_GetMMCDev();
|
||||
if(mmc_dev == NULL)
|
||||
|
|
Loading…
Reference in New Issue
Block a user