From f2127391c4cd0c5a16459a2a1f3a9b9a68efa1f5 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Fri, 15 Nov 2019 10:44:52 +0100 Subject: [PATCH] doxygen/UART: don't include overridden typedefs Add missing #ifndefs to overridden UART typedefs. Signed-off-by: Yegor Yefremov --- cpu/sam0_common/include/periph_cpu_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpu/sam0_common/include/periph_cpu_common.h b/cpu/sam0_common/include/periph_cpu_common.h index 04c923adb9..65ed47eaff 100644 --- a/cpu/sam0_common/include/periph_cpu_common.h +++ b/cpu/sam0_common/include/periph_cpu_common.h @@ -178,6 +178,7 @@ typedef enum { UART_FLAG_WAKEUP = 0x2, /**< wake from sleep on receive */ } uart_flag_t; +#ifndef DOXYGEN /** * @brief Available SERCOM UART data size selections * @@ -193,6 +194,7 @@ typedef enum { UART_DATA_BITS_8 = 0x0, /**< 8 data bits */ } uart_data_bits_t; /** @} */ +#endif /* ndef DOXYGEN */ /** * @brief UART device configuration