aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-12 16:42:38 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-08-12 16:42:38 +0000
commit7391ec61e2ae42133c076d10899af324776e8255 (patch)
treeb8ba6ea509e4248ab47d73aec587a8310100e761
parent17c6a6d1be213bb7fc7bbc602806cca254e3b9a7 (diff)
downloadChibiOS-7391ec61e2ae42133c076d10899af324776e8255.tar.gz
ChibiOS-7391ec61e2ae42133c076d10899af324776e8255.tar.bz2
ChibiOS-7391ec61e2ae42133c076d10899af324776e8255.zip
Fixed obsolete check.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6144 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/hal/include/mmc_spi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/mmc_spi.h b/os/hal/include/mmc_spi.h
index 5732570b6..2610d0024 100644
--- a/os/hal/include/mmc_spi.h
+++ b/os/hal/include/mmc_spi.h
@@ -65,8 +65,8 @@
/* Derived constants and error checks. */
/*===========================================================================*/
-#if !HAL_USE_SPI || !SPI_USE_WAIT || !CH_USE_EVENTS
-#error "MMC_SPI driver requires HAL_USE_SPI, SPI_USE_WAIT and CH_USE_EVENTS"
+#if !HAL_USE_SPI || !SPI_USE_WAIT
+#error "MMC_SPI driver requires HAL_USE_SPI and SPI_USE_WAIT"
#endif
/*===========================================================================*/