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