This is an automated email from the ASF dual-hosted git repository. andk pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 26ef3521095902895f27d627603a046b8d0c70bb Author: Andrzej Kaczmarek <andrzej.kaczma...@codecoup.pl> AuthorDate: Tue Aug 1 12:53:17 2023 +0200 hw/mcu/dialog: Calibrate RC32K at startup --- hw/mcu/dialog/da1469x/src/hal_system.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/mcu/dialog/da1469x/src/hal_system.c b/hw/mcu/dialog/da1469x/src/hal_system.c index ebb71ee1e..0a503915d 100644 --- a/hw/mcu/dialog/da1469x/src/hal_system.c +++ b/hw/mcu/dialog/da1469x/src/hal_system.c @@ -139,6 +139,9 @@ hal_system_clock_start(void) */ da1469x_clock_lp_rcx_disable(); #endif + + /* TODO: we should calibrate this periodically */ + da1469x_clock_lp_rc32k_calibrate(); } enum hal_reset_reason