diff options
Diffstat (limited to 'os/hal/platforms/AVR')
-rw-r--r-- | os/hal/platforms/AVR/serial_lld.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/os/hal/platforms/AVR/serial_lld.h b/os/hal/platforms/AVR/serial_lld.h index cfdb40aa9..b89bd3ef3 100644 --- a/os/hal/platforms/AVR/serial_lld.h +++ b/os/hal/platforms/AVR/serial_lld.h @@ -121,11 +121,10 @@ typedef struct { /* External declarations. */
/*===========================================================================*/
-/** @cond never*/
-#if USE_AVR_USART0
+#if USE_AVR_USART0 && !defined(__DOXYGEN__)
extern SerialDriver SD1;
#endif
-#if USE_AVR_USART1
+#if USE_AVR_USART1 && !defined(__DOXYGEN__)
extern SerialDriver SD2;
#endif
@@ -138,7 +137,6 @@ extern "C" { #ifdef __cplusplus
}
#endif
-/** @endcond*/
#endif /* CH_HAL_USE_SERIAL */
|