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 338cd923bb0fae71cc385091341b843f488a6b58
Author: Andrzej Kaczmarek <[email protected]>
AuthorDate: Thu Aug 3 14:56:50 2023 +0200

    hw/mcu/dialog: Remove assertion in clock calibration
    
    It's not needed since we do not need to run on reference clock.
---
 hw/mcu/dialog/da1469x/src/da1469x_clock.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/mcu/dialog/da1469x/src/da1469x_clock.c 
b/hw/mcu/dialog/da1469x/src/da1469x_clock.c
index bcd10d88a..114023f24 100644
--- a/hw/mcu/dialog/da1469x/src/da1469x_clock.c
+++ b/hw/mcu/dialog/da1469x/src/da1469x_clock.c
@@ -185,7 +185,6 @@ da1469x_clock_calibrate(uint8_t clock_sel, uint16_t ref_cnt)
 
     da1469x_pd_acquire(MCU_PD_DOMAIN_PER);
 
-    assert(CRG_TOP->CLK_CTRL_REG & 
CRG_TOP_CLK_CTRL_REG_RUNNING_AT_XTAL32M_Msk);
     assert(!(ANAMISC_BIF->CLK_REF_SEL_REG & 
ANAMISC_BIF_CLK_REF_SEL_REG_REF_CAL_START_Msk));
 
     ANAMISC_BIF->CLK_REF_CNT_REG = ref_cnt;

Reply via email to