From a775e3b2b83dcb4ac947262c10554a29841c985c Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Mon, 12 Aug 2019 22:22:54 +0200 Subject: [PATCH] Fix RTC issues on H7. * Update extint from upstream to fix EXTI number. * Fix EXTI numbers in rtc.c * Disable wakeup timer when initializing RTC. * Call RTC init in soft reset. --- src/micropython | 2 +- src/omv/main.c | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/micropython b/src/micropython index 45deee14f..f31c61e4d 160000 --- a/src/micropython +++ b/src/micropython @@ -1 +1 @@ -Subproject commit 45deee14f37bc9d2977988fe2fe1d89bf4f2302d +Subproject commit f31c61e4dcac3b2e67f7a21411e2750d87061f58 diff --git a/src/omv/main.c b/src/omv/main.c index 5b5d3ff0b..0e7e1cefb 100644 --- a/src/omv/main.c +++ b/src/omv/main.c @@ -469,10 +469,7 @@ soft_reset: servo_init(); usbdbg_init(); sdcard_init(); - - if (first_soft_reset) { - rtc_init_start(false); - } + rtc_init_start(false); // Initialize the sensor and check the result after // mounting the file-system to log errors (if any).