We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b7f4a3 + a955223 commit 5bf901bCopy full SHA for 5bf901b
targets/TARGET_STM/rtc_api_hal.h
@@ -81,7 +81,7 @@ void rtc_deactivate_wake_up_timer(void);
81
82
/* PREDIV_S : 15-bit synchronous prescaler */
83
/* PREDIV_S is set in order to get a 1 Hz clock */
84
-#define PREDIV_S_VALUE RTC_CLOCK / (PREDIV_A_VALUE + 1) - 1
+#define PREDIV_S_VALUE (RTC_CLOCK / (PREDIV_A_VALUE + 1) - 1)
85
86
/** Synchronise the RTC shadow registers.
87
*
0 commit comments