Skip to content

Commit 0f7f590

Browse files
committed
[SAMD] use RTC.begin(false) for new RTC library behaviour
1 parent 562190f commit 0f7f590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoLowPowerSAMD.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ void ArduinoLowPowerClass::attachInterruptWakeup(uint32_t pin, voidFuncPtr callb
5353
// RTC library should call this API to enable the alarm subsystem
5454
switch (pin) {
5555
case RTC_ALARM_WAKEUP:
56-
rtc.begin();
56+
rtc.begin(false);
5757
rtc.attachInterrupt(callback);
5858
/*case UART_WAKEUP:*/
5959
}

0 commit comments

Comments
 (0)