* this exists centrally in os/hal/includes/spi.h. remove duplicate.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1472 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
liamstask 2009-12-28 20:50:32 +00:00
parent 0e87fac778
commit 2a05dca915
1 changed files with 0 additions and 11 deletions

View File

@ -37,21 +37,10 @@
/* Driver pre-compile time settings. */
/*===========================================================================*/
/**
* @brief Enables the mutual exclusion APIs on the SPI bus.
*/
#if !defined(SPI_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
#define SPI_USE_MUTUAL_EXCLUSION TRUE
#endif
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/
#if SPI_USE_MUTUAL_EXCLUSION && !CH_USE_MUTEXES && !CH_USE_SEMAPHORES
#error "SPI_USE_MUTUAL_EXCLUSION requires CH_USE_MUTEXES and/or CH_USE_SEMAPHORES"
#endif
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/