aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal
diff options
context:
space:
mode:
authorliamstask <liamstask@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-28 20:50:32 +0000
committerliamstask <liamstask@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-28 20:50:32 +0000
commit2a05dca9157fe8ad58a873bd51b6115e4380e10a (patch)
tree9e40fe5f6bbb075f48cc48139d7b4720cf49ef15 /os/hal
parent0e87fac778e89fb8ecd2b33df4472cd635438dde (diff)
downloadChibiOS-2a05dca9157fe8ad58a873bd51b6115e4380e10a.tar.gz
ChibiOS-2a05dca9157fe8ad58a873bd51b6115e4380e10a.tar.bz2
ChibiOS-2a05dca9157fe8ad58a873bd51b6115e4380e10a.zip
* 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
Diffstat (limited to 'os/hal')
-rw-r--r--os/hal/templates/spi_lld.h11
1 files changed, 0 insertions, 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. */
/*===========================================================================*/