Added a compile time chech to the MMC_SPI driver.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5553 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2013-04-07 07:45:17 +00:00
parent 098b67f2c5
commit 3adcb46879
1 changed files with 2 additions and 2 deletions

View File

@ -65,8 +65,8 @@
/* Derived constants and error checks. */
/*===========================================================================*/
#if !HAL_USE_SPI || !CH_USE_EVENTS
#error "MMC_SPI driver requires HAL_USE_SPI and CH_USE_EVENTS"
#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"
#endif
/*===========================================================================*/