aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/spi_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/spi_lld.h')
-rw-r--r--os/hal/platforms/STM32/spi_lld.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/os/hal/platforms/STM32/spi_lld.h b/os/hal/platforms/STM32/spi_lld.h
index 6d8d2a257..8afe01e93 100644
--- a/os/hal/platforms/STM32/spi_lld.h
+++ b/os/hal/platforms/STM32/spi_lld.h
@@ -18,8 +18,9 @@
*/
/**
- * @file STM32/spi_lld.h
- * @brief STM32 SPI subsystem low level driver header.
+ * @file STM32/spi_lld.h
+ * @brief STM32 SPI subsystem low level driver header.
+ *
* @addtogroup STM32_SPI
* @{
*/
@@ -188,12 +189,11 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
-/** @cond never*/
-#if USE_STM32_SPI1
+#if USE_STM32_SPI1 && !defined(__DOXYGEN__)
extern SPIDriver SPID1;
#endif
-#if USE_STM32_SPI2
+#if USE_STM32_SPI2 && !defined(__DOXYGEN__)
extern SPIDriver SPID2;
#endif
@@ -213,7 +213,6 @@ extern "C" {
#ifdef __cplusplus
}
#endif
-/** @endcond*/
#endif /* CH_HAL_USE_SPI */