aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/Win32
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/Win32')
-rw-r--r--os/hal/platforms/Win32/serial_lld.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/os/hal/platforms/Win32/serial_lld.h b/os/hal/platforms/Win32/serial_lld.h
index fc1e21b36..6ded1c4f2 100644
--- a/os/hal/platforms/Win32/serial_lld.h
+++ b/os/hal/platforms/Win32/serial_lld.h
@@ -132,11 +132,10 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
-/** @cond never*/
-#if USE_WIN32_SERIAL1
+#if USE_WIN32_SERIAL1 && !defined(__DOXYGEN__)
extern SerialDriver SD1;
#endif
-#if USE_WIN32_SERIAL2
+#if USE_WIN32_SERIAL2 && !defined(__DOXYGEN__)
extern SerialDriver SD2;
#endif
@@ -150,7 +149,6 @@ extern "C" {
#ifdef __cplusplus
}
#endif
-/** @endcond*/
#endif /* CH_HAL_USE_SERIAL */