aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/can_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/can_lld.h')
-rw-r--r--os/hal/platforms/STM32/can_lld.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/can_lld.h b/os/hal/platforms/STM32/can_lld.h
index 7f1770770..0e1d0fee0 100644
--- a/os/hal/platforms/STM32/can_lld.h
+++ b/os/hal/platforms/STM32/can_lld.h
@@ -293,8 +293,7 @@ typedef struct {
/* External declarations. */
/*===========================================================================*/
-/** @cond never*/
-#if USE_STM32_CAN1
+#if USE_STM32_CAN1 && !defined(__DOXYGEN__)
extern CANDriver CAND1;
#endif
@@ -315,7 +314,6 @@ extern "C" {
#ifdef __cplusplus
}
#endif
-/** @endcond*/
#endif /* CH_HAL_USE_CAN */