aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c
diff options
context:
space:
mode:
authorareviu <areviu.info@gmail.com>2018-01-13 12:11:08 +0000
committerareviu <areviu.info@gmail.com>2018-01-13 12:11:08 +0000
commit6f3d4e0790fda22ded54940778a243c9a9a49b58 (patch)
tree86428bc5576a8a8d8314d8a9bd529380e4559e16 /os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c
parentc29ee522912f292fc2f44ee596dcebbbd5c5d718 (diff)
downloadChibiOS-6f3d4e0790fda22ded54940778a243c9a9a49b58.tar.gz
ChibiOS-6f3d4e0790fda22ded54940778a243c9a9a49b58.tar.bz2
ChibiOS-6f3d4e0790fda22ded54940778a243c9a9a49b58.zip
fixed missing check for HAL_USE_SDMMC
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11266 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c')
-rw-r--r--os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c b/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c
index 9b66742c7..00f8a998e 100644
--- a/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c
+++ b/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c
@@ -1,4 +1,7 @@
#include "hal.h"
+
+#if (HAL_USE_SDMMC == TRUE)
+
#include "sama_sdmmc_lld.h"
#include "ch_sdmmc_pmc.h"
#include "ch_sdmmc_tc.h"
@@ -252,3 +255,4 @@ uint32_t tc_get_cv(Tc* tc, uint32_t channel)
}
#endif
+#endif