aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c
diff options
context:
space:
mode:
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.c3
1 files changed, 3 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 b8898acb5..9b66742c7 100644
--- a/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c
+++ b/os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c
@@ -3,6 +3,8 @@
#include "ch_sdmmc_pmc.h"
#include "ch_sdmmc_tc.h"
+#if SDMMC_USE_TC == 1
+
/*------------------------------------------------------------------------------
* Global functions
*------------------------------------------------------------------------------*/
@@ -249,3 +251,4 @@ uint32_t tc_get_cv(Tc* tc, uint32_t channel)
return ch->TC_CV;
}
+#endif