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


##########
hw/hal/include/hal/hal_os_tick.h:
##########
@@ -49,6 +49,12 @@ void os_tick_init(uint32_t os_ticks_per_sec, int prio);
  */
 void os_tick_idle(os_time_t n);
 
+/**
+ * Calculate the OS tick parameters.
+ *
+ * @param os_ticks_per_sec The number of OS ticks per second
+ */
+void hal_os_tick_calc_params(uint32_t os_ticks_per_sec);

Review Comment:
   Looking at the other services in hal_os_tick.c, I still believe this 
function belongs here. This is a new addition to the API, for the OS tick 
dividers to be re-tuned (case in point, after an oscillator re-calibration). It 
can be implemented for the other MCU's as well, on a need-to-do basis.



-- 
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