diff --git a/portable/Zynq.2019.3/ff_sddisk.c b/portable/Zynq.2019.3/ff_sddisk.c index fc33b22..a700983 100644 --- a/portable/Zynq.2019.3/ff_sddisk.c +++ b/portable/Zynq.2019.3/ff_sddisk.c @@ -433,7 +433,7 @@ static CacheMemoryInfo_t * pucGetSDIOCacheMemory( BaseType_t xPartition ) /*-----------------------------------------------------------*/ /* Initialise the SDIO driver and mount an SD card */ -BaseType_t xMountFailIgnore = 0; +BaseType_t xMountFailIgnore = 1; /* _HT_ : the function FF_SDDiskInit() used to mount partition-0. * It would be nice if it has a parameter indicating the partition diff --git a/portable/linux/ff_sddisk.c b/portable/linux/ff_sddisk.c index adb9331..80ad938 100644 --- a/portable/linux/ff_sddisk.c +++ b/portable/linux/ff_sddisk.c @@ -144,7 +144,6 @@ BaseType_t FF_SDDiskMount( FF_Disk_t * pxDisk ) FF_PRINTF( "****** FreeRTOS+FAT initialized %u sectors\n", ( unsigned ) pxDisk->pxIOManager->xPartition.ulTotalSectors ); return pdPASS; } - return pdFAIL; } /*-----------------------------------------------------------*/ @@ -174,7 +173,6 @@ BaseType_t FF_SDDiskDelete( FF_Disk_t * pxDisk ) { vPortFree( pxDisk ); } - return pdTRUE; } /*-----------------------------------------------------------*/