aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c
diff options
context:
space:
mode:
authorareviu <areviu.info@gmail.com>2018-01-15 21:08:56 +0000
committerareviu <areviu.info@gmail.com>2018-01-15 21:08:56 +0000
commitc8a29d8802f436115664cc640faa8389cb4beb19 (patch)
tree9cb163de4d0c927a73ace97d8dac773b2463c683 /os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c
parenta5fa48f014bdcb90297fbfefcb08b5b9f9019ed7 (diff)
downloadChibiOS-c8a29d8802f436115664cc640faa8389cb4beb19.tar.gz
ChibiOS-c8a29d8802f436115664cc640faa8389cb4beb19.tar.bz2
ChibiOS-c8a29d8802f436115664cc640faa8389cb4beb19.zip
removed legacy code for pmc
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11288 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c')
-rw-r--r--os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c
index f21aca143..2c5a862e1 100644
--- a/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c
+++ b/os/hal/ports/SAMA/LLD/SDMMCv1/sama_sdmmc_lld.c
@@ -24,6 +24,7 @@
#include "hal.h"
#include "ccportab.h"
+
#if (HAL_USE_SDMMC == TRUE) || defined(__DOXYGEN__)
#include <string.h>
#include "sama_sdmmc_lld.h"
@@ -31,10 +32,13 @@
#include "ch_sdmmc_sd.h"
#include "ch_sdmmc_sdio.h"
#include "ch_sdmmc_trace.h"
+
/*===========================================================================*/
/* Driver local definitions. */
/*===========================================================================*/
-
+#if SAMA_ST_USE_PIT == FALSE
+#error "SDMMC Driver needs SAMA_ST_USE_PIT"
+#endif
/*===========================================================================*/
/* Driver exported variables. */
/*===========================================================================*/