diff options
Diffstat (limited to 'os/various/chrtclib.h')
-rw-r--r-- | os/various/chrtclib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/various/chrtclib.h b/os/various/chrtclib.h index 895abc1a7..daf53ec85 100644 --- a/os/various/chrtclib.h +++ b/os/various/chrtclib.h @@ -31,6 +31,8 @@ #include <time.h>
+#if HAL_USE_RTC || defined(__DOXYGEN__)
+
/*===========================================================================*/
/* External declarations. */
/*===========================================================================*/
@@ -50,6 +52,8 @@ extern "C" { }
#endif
+#endif /* HAL_USE_RTC */
+
#endif /* CHRTCLIB_H_ */
/** @} */
|