mirror of
https://github.com/arduino-libraries/ArduinoLowPower.git
synced 2025-04-19 11:42:14 +03:00
[SAMD] use RTC.begin(false) for new RTC library behaviour
This commit is contained in:
parent
562190f552
commit
0f7f5904ad
@ -53,7 +53,7 @@ void ArduinoLowPowerClass::attachInterruptWakeup(uint32_t pin, voidFuncPtr callb
|
||||
// RTC library should call this API to enable the alarm subsystem
|
||||
switch (pin) {
|
||||
case RTC_ALARM_WAKEUP:
|
||||
rtc.begin();
|
||||
rtc.begin(false);
|
||||
rtc.attachInterrupt(callback);
|
||||
/*case UART_WAKEUP:*/
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user