aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/SPIv1/spi_lld.h
diff options
context:
space:
mode:
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