apc067 commented on code in PR #3321:
URL: https://github.com/apache/mynewt-core/pull/3321#discussion_r1819512308


##########
hw/mcu/dialog/da1469x/src/da1469x_clock.c:
##########
@@ -305,11 +355,18 @@ da1469x_clock_calibrate(uint8_t clock_sel, uint16_t 
ref_cnt)
 }
 
 void
-da1469x_clock_lp_rc32m_calibrate(void)
+da1469x_clock_sys_rc32m_calibrate(void)
 {
     g_mcu_clock_rc32m_freq = da1469x_clock_calibrate(1, 100);
 }
 
+void
+da1469x_clock_lp_xtal32k_calibrate(void)
+{
+    g_mcu_clock_xtal32k_freq =
+        da1469x_clock_calibrate(2, MYNEWT_VAL(MCU_CLOCK_RCX_CAL_REF_CNT));

Review Comment:
   Done.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to