Merge pull request #2881 from DavePutz/Issue2872
Added call to rtc_reset() to fix Issue #2872
This commit is contained in:
commit
801d9655e5
|
@ -174,6 +174,10 @@ static void rtc_init(void) {
|
||||||
#endif
|
#endif
|
||||||
NVIC_ClearPendingIRQ(RTC_IRQn);
|
NVIC_ClearPendingIRQ(RTC_IRQn);
|
||||||
NVIC_EnableIRQ(RTC_IRQn);
|
NVIC_EnableIRQ(RTC_IRQn);
|
||||||
|
#if CIRCUITPY_RTC
|
||||||
|
rtc_reset();
|
||||||
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
safe_mode_t port_init(void) {
|
safe_mode_t port_init(void) {
|
||||||
|
|
Loading…
Reference in New Issue