From 3d86a56dc23a04b844eb9d54e4741c5bcc6af91b Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 11 May 2013 11:01:25 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5714 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- boards/NONSTANDARD_STM32F4_BARTHESS1/board.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c b/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c index a41442f13..193217320 100644 --- a/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c +++ b/boards/NONSTANDARD_STM32F4_BARTHESS1/board.c @@ -53,6 +53,7 @@ void __early_init(void) { void boardInit(void) { } +#if HAL_USE_SDC /** * @brief Insertion monitor function. * @@ -79,3 +80,4 @@ bool_t sdc_lld_is_write_protected(SDCDriver *sdcp) { (void)sdcp; return FALSE; } +#endif /* HAL_USE_SDC */