diff --git a/os/io/platforms/LPC214x/serial_lld.h b/os/io/platforms/LPC214x/serial_lld.h index 859983528..b576a3e6e 100644 --- a/os/io/platforms/LPC214x/serial_lld.h +++ b/os/io/platforms/LPC214x/serial_lld.h @@ -162,7 +162,6 @@ extern SerialDriver COM1; #if USE_LPC214x_UART1 extern SerialDriver COM2; #endif -/** @endcond*/ #ifdef __cplusplus extern "C" { @@ -173,6 +172,7 @@ extern "C" { #ifdef __cplusplus } #endif +/** @endcond*/ #endif /* _SERIAL_LLD_H_ */ diff --git a/os/io/platforms/STM32F103/serial_lld.h b/os/io/platforms/STM32F103/serial_lld.h index daa92c547..89b28815f 100644 --- a/os/io/platforms/STM32F103/serial_lld.h +++ b/os/io/platforms/STM32F103/serial_lld.h @@ -189,7 +189,6 @@ extern SerialDriver COM2; #if USE_STM32_USART3 extern SerialDriver COM3; #endif -/** @endcond*/ #ifdef __cplusplus extern "C" { @@ -200,6 +199,7 @@ extern "C" { #ifdef __cplusplus } #endif +/** @endcond*/ #endif /* _SERIAL_LLD_H_ */