aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_ff.c
diff options
context:
space:
mode:
authorareviu <areviu.info@gmail.com>2018-02-26 19:06:49 +0000
committerareviu <areviu.info@gmail.com>2018-02-26 19:06:49 +0000
commit0c51b431f291b88062f9303a85e4a69f29ff6ac4 (patch)
tree9a03ca06cf37aca239fb9c9e0cada2554a6590a3 /os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_ff.c
parent70fb3b40569070168d85a65ede1ca8112a9394f8 (diff)
downloadChibiOS-0c51b431f291b88062f9303a85e4a69f29ff6ac4.tar.gz
ChibiOS-0c51b431f291b88062f9303a85e4a69f29ff6ac4.tar.bz2
ChibiOS-0c51b431f291b88062f9303a85e4a69f29ff6ac4.zip
sdmmc driver update, added support for reliance edge fs
git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11551 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_ff.c')
-rw-r--r--os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_ff.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_ff.c b/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_ff.c
index 7d764886d..d4e98b885 100644
--- a/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_ff.c
+++ b/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_ff.c
@@ -41,7 +41,8 @@
#include "hal.h"
#if (HAL_USE_SDMMC == TRUE)
-
+#include "sama_sdmmc_lld.h"
+#if SDMMC_USE_FF_LIB == 1
#include "ccportab.h"
#include "ffconf.h"
#include "diskio.h"
@@ -309,4 +310,5 @@ DRESULT disk_ioctl(BYTE slot, BYTE cmd, void* buff)
return res;
}
#endif
+#endif