aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include/hal_rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/include/hal_rtc.h')
-rw-r--r--os/hal/include/hal_rtc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/include/hal_rtc.h b/os/hal/include/hal_rtc.h
index e64b036e9..ad62e6ff3 100644
--- a/os/hal/include/hal_rtc.h
+++ b/os/hal/include/hal_rtc.h
@@ -128,7 +128,7 @@ typedef struct {
#error "RTC LLD does not define the required RTC_HAS_STORAGE macro"
#endif
-#if RTC_HAS_STORAGE || defined(__DOXYGEN__)
+#if (RTC_HAS_STORAGE == TRUE) || defined(__DOXYGEN__)
/**
* @extends FileStream
*
@@ -143,7 +143,7 @@ struct RTCDriverVMT {
* @brief Structure representing an RTC driver.
*/
struct RTCDriver {
-#if RTC_HAS_STORAGE || defined(__DOXYGEN__)
+#if (RTC_HAS_STORAGE == TRUE) || defined(__DOXYGEN__)
/**
* @brief Virtual Methods Table.
*/