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.
1 parent 74e2b17 commit ead6df5Copy full SHA for ead6df5
src/STM32RTC.cpp
@@ -73,7 +73,7 @@ void STM32RTC::begin(bool resetTime, Hour_Format format)
73
74
syncTime();
75
syncDate();
76
-
+ syncAlarmTime();
77
if (!IS_RTC_DATE(_alarmDay)) {
78
// Use current time to init alarm members,
79
// specially in case _alarmDay is 0 (reset value) which is an invalid value
@@ -85,6 +85,7 @@ void STM32RTC::begin(bool resetTime, Hour_Format format)
85
_alarmPeriod = _hoursPeriod;
86
}
87
#ifdef RTC_ALARM_B
88
+ syncAlarmTime(ALARM_B);
89
if (!IS_RTC_DATE(_alarmBDay)) {
90
91
0 commit comments