From 97d0851de1cb8625c5844f1d7540978f9aa5f2e5 Mon Sep 17 00:00:00 2001
From: Yegor Yefremov <yegorslists@googlemail.com>
Date: Wed, 6 Feb 2019 12:46:27 +0100
Subject: [PATCH] cpu/stm32_common: fix UART documentation

Don't include overridden typedefs into doxygen as otherwise,
they'll appear twice.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
 cpu/stm32_common/include/periph_cpu_common.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cpu/stm32_common/include/periph_cpu_common.h b/cpu/stm32_common/include/periph_cpu_common.h
index fd97fb25a2..2083b08bb6 100644
--- a/cpu/stm32_common/include/periph_cpu_common.h
+++ b/cpu/stm32_common/include/periph_cpu_common.h
@@ -370,6 +370,7 @@ typedef enum {
     STM32_LPUART,           /**< STM32 Low-power UART (LPUART) module type */
 } uart_type_t;
 
+#ifndef DOXYGEN
 /**
  * @brief   Invalid UART mode mask
  *
@@ -419,6 +420,7 @@ typedef enum {
    UART_STOP_BITS_2 = USART_CR2_STOP_1,   /**< 2 stop bits */
 } uart_stop_bits_t;
 /** @} */
+#endif /* ndef DOXYGEN */
 
 /**
  * @brief   Structure for UART configuration data
-- 
GitLab