Skip to content

Commit 801d965

Browse files
authored
Merge pull request #2881 from DavePutz/Issue2872
Added call to rtc_reset() to fix Issue #2872
2 parents 6cfd73f + 407938b commit 801d965

File tree

1 file changed

+4
-0
lines changed
  • ports/atmel-samd/supervisor

1 file changed

+4
-0
lines changed

ports/atmel-samd/supervisor/port.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,10 @@ static void rtc_init(void) {
174174
#endif
175175
NVIC_ClearPendingIRQ(RTC_IRQn);
176176
NVIC_EnableIRQ(RTC_IRQn);
177+
#if CIRCUITPY_RTC
178+
rtc_reset();
179+
#endif
180+
177181
}
178182

179183
safe_mode_t port_init(void) {

0 commit comments

Comments
 (0)