From 2a05dca9157fe8ad58a873bd51b6115e4380e10a Mon Sep 17 00:00:00 2001 From: liamstask Date: Mon, 28 Dec 2009 20:50:32 +0000 Subject: [PATCH] * 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 --- os/hal/templates/spi_lld.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/os/hal/templates/spi_lld.h b/os/hal/templates/spi_lld.h index 8284a871b..af992b554 100644 --- a/os/hal/templates/spi_lld.h +++ b/os/hal/templates/spi_lld.h @@ -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. */ /*===========================================================================*/