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
This commit is contained in:
parent
098b67f2c5
commit
3adcb46879
|
@ -65,8 +65,8 @@
|
||||||
/* Derived constants and error checks. */
|
/* Derived constants and error checks. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#if !HAL_USE_SPI || !CH_USE_EVENTS
|
#if !HAL_USE_SPI || !SPI_USE_WAIT || !CH_USE_EVENTS
|
||||||
#error "MMC_SPI driver requires HAL_USE_SPI and CH_USE_EVENTS"
|
#error "MMC_SPI driver requires HAL_USE_SPI, SPI_USE_WAIT and CH_USE_EVENTS"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
Loading…
Reference in New Issue