aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/AT91SAM7
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/AT91SAM7
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/AT91SAM7')
-rw-r--r--os/hal/platforms/AT91SAM7/mac_lld.h4
-rw-r--r--os/hal/platforms/AT91SAM7/serial_lld.h6
2 files changed, 4 insertions, 6 deletions
diff --git a/os/hal/platforms/AT91SAM7/mac_lld.h b/os/hal/platforms/AT91SAM7/mac_lld.h
index a1580aa7e..c98afc0f8 100644
--- a/os/hal/platforms/AT91SAM7/mac_lld.h
+++ b/os/hal/platforms/AT91SAM7/mac_lld.h
@@ -167,8 +167,9 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
-/** @cond never*/
+#if !defined(__DOXYGEN__)
extern MACDriver ETH1;
+#endif
#ifdef __cplusplus
extern "C" {
@@ -191,7 +192,6 @@ extern "C" {
#ifdef __cplusplus
}
#endif
-/** @endcond*/
#endif /* CH_HAL_USE_MAC */
diff --git a/os/hal/platforms/AT91SAM7/serial_lld.h b/os/hal/platforms/AT91SAM7/serial_lld.h
index cc03b144f..e3bb23259 100644
--- a/os/hal/platforms/AT91SAM7/serial_lld.h
+++ b/os/hal/platforms/AT91SAM7/serial_lld.h
@@ -131,11 +131,10 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
-/** @cond never*/
-#if USE_SAM7_USART0
+#if USE_SAM7_USART0 && !defined(__DOXYGEN__)
extern SerialDriver SD1;
#endif
-#if USE_SAM7_USART1
+#if USE_SAM7_USART1 && !defined(__DOXYGEN__)
extern SerialDriver SD2;
#endif
@@ -148,7 +147,6 @@ extern "C" {
#ifdef __cplusplus
}
#endif
-/** @endcond*/
#endif /* CH_HAL_USE_SERIAL */