We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3866201 commit c8596c3Copy full SHA for c8596c3
hw/mcu/dialog/da1469x/src/da1469x_lpclk.c
@@ -79,6 +79,10 @@ da1469x_lpclk_updated(void)
79
void
80
da1469x_lpclk_init(void)
81
{
82
+#if MYNEWT_VAL_CHOICE(MCU_LPCLK_SOURCE, RCX)
83
+ da1469x_lpclk_enabled();
84
+#endif
85
+
86
#if MYNEWT_VAL_CHOICE(MCU_LPCLK_SOURCE, XTAL32K)
87
static struct hal_timer lpclk_settle_tmr;
88
da1469x_clock_lp_xtal32k_enable();
hw/mcu/dialog/da1469x/src/hal_system.c
@@ -130,7 +130,6 @@ hal_system_clock_start(void)
130
da1469x_clock_lp_rcx_enable();
131
da1469x_clock_lp_rcx_switch();
132
da1469x_clock_lp_rcx_calibrate();
133
- da1469x_lpclk_enabled();
134
#else
135
/*
136
* We cannot switch lp_clk to XTAL32K here since it needs some time to
0 commit comments