git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1502 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
855fe2391d
commit
bd96aadd95
|
@ -41,6 +41,10 @@
|
||||||
/* Derived constants and error checks. */
|
/* Derived constants and error checks. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
#if !CH_USE_SEMAPHORES || !CH_USE_EVENTS
|
||||||
|
#error "the MAC driver requires CH_USE_SEMAPHORES and CH_USE_EVENTS"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver data structures and types. */
|
/* Driver data structures and types. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -89,8 +89,8 @@
|
||||||
/* Derived constants and error checks. */
|
/* Derived constants and error checks. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#if !CH_USE_EVENTS
|
#if !CH_HAL_USE_SPI || !CH_USE_EVENTS
|
||||||
#error "MMC_SPI driver requires CH_USE_EVENTS"
|
#error "MMC_SPI driver requires CH_HAL_USE_SPI and CH_USE_EVENTS"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -77,6 +77,10 @@
|
||||||
/* Derived constants and error checks. */
|
/* Derived constants and error checks. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
#if !CH_USE_QUEUES && !CH_USE_EVENTS
|
||||||
|
#error "Serial Driver requires CH_USE_QUEUES and CH_USE_EVENTS"
|
||||||
|
#endif
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver data structures and types. */
|
/* Driver data structures and types. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -112,10 +112,6 @@
|
||||||
/* Derived constants and error checks. */
|
/* Derived constants and error checks. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#if !CH_USE_SEMAPHORES || !CH_USE_EVENTS
|
|
||||||
#error "the MAC driver requires CH_USE_SEMAPHORES and CH_USE_EVENTS"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver data structures and types. */
|
/* Driver data structures and types. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -62,10 +62,6 @@
|
||||||
/* Derived constants and error checks. */
|
/* Derived constants and error checks. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#if !CH_USE_SEMAPHORES || !CH_USE_EVENTS
|
|
||||||
#error "the MAC driver requires CH_USE_SEMAPHORES and CH_USE_EVENTS"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/* Driver data structures and types. */
|
/* Driver data structures and types. */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
Loading…
Reference in New Issue