diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-02 12:41:56 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-02 12:41:56 +0000 |
commit | 61038954f731debcf474b097a1f7283e4cf198fc (patch) | |
tree | f61db5198fe2d1bc046fd1ed937f477369657956 /os/hal/platforms/LPC214x/spi_lld.h | |
parent | 93a5207c97213c420885600f8c0d72f7b5ec3766 (diff) | |
download | ChibiOS-61038954f731debcf474b097a1f7283e4cf198fc.tar.gz ChibiOS-61038954f731debcf474b097a1f7283e4cf198fc.tar.bz2 ChibiOS-61038954f731debcf474b097a1f7283e4cf198fc.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1493 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC214x/spi_lld.h')
-rw-r--r-- | os/hal/platforms/LPC214x/spi_lld.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/os/hal/platforms/LPC214x/spi_lld.h b/os/hal/platforms/LPC214x/spi_lld.h index 6f3527171..c1fec8e02 100644 --- a/os/hal/platforms/LPC214x/spi_lld.h +++ b/os/hal/platforms/LPC214x/spi_lld.h @@ -38,13 +38,6 @@ /*===========================================================================*/
/**
- * @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
-
-/**
* @brief SPI1 (SSP) driver enable switch.
* @details If set to @p TRUE the support for SPI0 is included.
* @note The default is @p TRUE.
@@ -57,10 +50,6 @@ /* 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. */
/*===========================================================================*/
|