Added call to rtc_reset() in rtc_init()
Fix for issue #2872. The rtc_time_source had not been initialized; causing a time.time() call to fail.
This commit is contained in:
parent
581c9cee08
commit
2ddfab315c
@ -174,6 +174,7 @@ static void rtc_init(void) {
|
||||
#endif
|
||||
NVIC_ClearPendingIRQ(RTC_IRQn);
|
||||
NVIC_EnableIRQ(RTC_IRQn);
|
||||
rtc_reset();
|
||||
}
|
||||
|
||||
safe_mode_t port_init(void) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user