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-11 21:41:51 +0000
committerareviu <areviu.info@gmail.com>2018-01-11 21:41:51 +0000
commitbae22ff5bf8185b7ed2b6d26fb0d8f2c42253cfb (patch)
treeb0a58599435c67e3fe3c40929d316a5ce79185ab /os/hal/ports/SAMA/LLD/SDMMCv1/ch_sdmmc_tc.c
parentc0cea335bc590cd86fb385f587e61449e6071c9e (diff)
downloadChibiOS-bae22ff5bf8185b7ed2b6d26fb0d8f2c42253cfb.tar.gz
ChibiOS-bae22ff5bf8185b7ed2b6d26fb0d8f2c42253cfb.tar.bz2
ChibiOS-bae22ff5bf8185b7ed2b6d26fb0d8f2c42253cfb.zip
update SDMMC driver and added test hal project
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11264 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.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