aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/serial_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-25 15:28:15 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-25 15:28:15 +0000
commitdea859c252d1ba02aaead3022b004702679712a6 (patch)
tree797ad6edd1b85672dcf84d1a476e3312d9bfdf5e /os/hal/platforms/STM32/serial_lld.h
parentf38a21493342f3bd2f7e3371508e4ff280f76fb3 (diff)
downloadChibiOS-dea859c252d1ba02aaead3022b004702679712a6.tar.gz
ChibiOS-dea859c252d1ba02aaead3022b004702679712a6.tar.bz2
ChibiOS-dea859c252d1ba02aaead3022b004702679712a6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1777 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/serial_lld.h')
-rw-r--r--os/hal/platforms/STM32/serial_lld.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/os/hal/platforms/STM32/serial_lld.h b/os/hal/platforms/STM32/serial_lld.h
index 1fee0e879..eb625230b 100644
--- a/os/hal/platforms/STM32/serial_lld.h
+++ b/os/hal/platforms/STM32/serial_lld.h
@@ -214,21 +214,20 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
-/** @cond never*/
-#if USE_STM32_USART1
+#if USE_STM32_USART1 && !defined(__DOXYGEN__)
extern SerialDriver SD1;
#endif
-#if USE_STM32_USART2
+#if USE_STM32_USART2 && !defined(__DOXYGEN__)
extern SerialDriver SD2;
#endif
-#if USE_STM32_USART3
+#if USE_STM32_USART3 && !defined(__DOXYGEN__)
extern SerialDriver SD3;
#endif
#if defined(STM32F10X_HD) || defined(STM32F10X_CL)
-#if USE_STM32_UART4
+#if USE_STM32_UART4 && !defined(__DOXYGEN__)
extern SerialDriver SD4;
#endif
-#if USE_STM32_UART5
+#if USE_STM32_UART5 && !defined(__DOXYGEN__)
extern SerialDriver SD5;
#endif
#endif
@@ -242,7 +241,6 @@ extern "C" {
#ifdef __cplusplus
}
#endif
-/** @endcond*/
#endif /* CH_HAL_USE_SERIAL */