aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/SPIv1/spi_lld.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-07 14:57:25 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-07 14:57:25 +0000
commite949c9b3e4d0aa20db187a8497e2231fbfe3b106 (patch)
tree1014d4ce67dfea1872af17661f6edb89a16b284b /os/hal/ports/STM32/LLD/SPIv1/spi_lld.h
parent3643caa8543be78b6df11fe9dced4d30aa440c5b (diff)
downloadChibiOS-e949c9b3e4d0aa20db187a8497e2231fbfe3b106.tar.gz
ChibiOS-e949c9b3e4d0aa20db187a8497e2231fbfe3b106.tar.bz2
ChibiOS-e949c9b3e4d0aa20db187a8497e2231fbfe3b106.zip
Undid SPI changes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9050 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/SPIv1/spi_lld.h')
-rw-r--r--os/hal/ports/STM32/LLD/SPIv1/spi_lld.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/os/hal/ports/STM32/LLD/SPIv1/spi_lld.h b/os/hal/ports/STM32/LLD/SPIv1/spi_lld.h
index eba9f21e1..2aab01daf 100644
--- a/os/hal/ports/STM32/LLD/SPIv1/spi_lld.h
+++ b/os/hal/ports/STM32/LLD/SPIv1/spi_lld.h
@@ -196,15 +196,6 @@
#endif
/**
- * @brief Enables the SPI BIDIMODE support.
- * @details If set to @p TRUE the support for BIDIMODE CR1 bit is included.
- * @note The default is @p FALSE.
- */
-#if !defined(STM32_SPI_USE_BIDIMODE) || defined(__DOXYGEN__)
-#define STM32_SPI_USE_BIDIMODE FALSE
-#endif
-
-/**
* @brief SPI DMA error hook.
*/
#if !defined(STM32_SPI_DMA_ERROR_HOOK) || defined(__DOXYGEN__)
@@ -240,7 +231,7 @@
#error "SPI6 not present in the selected device"
#endif
-#if !STM32_SPI_USE_SPI1 && !STM32_SPI_USE_SPI2 && !STM32_SPI_USE_SPI3 && \
+#if !STM32_SPI_USE_SPI1 && !STM32_SPI_USE_SPI2 && !STM32_SPI_USE_SPI3 && \
!STM32_SPI_USE_SPI4 && !STM32_SPI_USE_SPI5 && !STM32_SPI_USE_SPI6
#error "SPI driver activated but no SPI peripheral assigned"
#endif