xiaoxiang781216 commented on code in PR #17675:
URL: https://github.com/apache/nuttx/pull/17675#discussion_r2646778673
##########
sched/sched/sched_timerexpiration.c:
##########
@@ -108,6 +108,32 @@ static unsigned int g_timernested;
* Private Functions
****************************************************************************/
+static inline_function clock_t adjust_next_interval(clock_t interval)
Review Comment:
move to separated pr
##########
drivers/timers/arch_alarm.c:
##########
@@ -330,6 +330,18 @@ int weak_function up_timer_gettime(struct timespec *ts)
****************************************************************************/
#ifdef CONFIG_SCHED_TICKLESS
+int weak_function up_alarm_cancel(FAR struct timespec *ts)
Review Comment:
move to the separated pr too
##########
sched/hrtimer/hrtimer.c:
##########
@@ -49,30 +49,21 @@ static inline_function void hrtimer_reprogram(FAR
hrtimer_queue_t *queue,
uint64_t next_expired)
{
#ifdef CONFIG_SCHED_TICKLESS
-# ifdef CONFIG_SCHED_TICKLESS_ALARM
-# ifdef CONFIG_SCHED_TICKLESS_TICK_ARGUMENT
- up_alarm_tick_start(div_const_roundup(next_expired, NSEC_PER_TICK));
-# else
struct timespec ts;
+# ifdef CONFIG_SCHED_TICKLESS_ALARM
Review Comment:
merge to
https://github.com/apache/nuttx/pull/17675/changes/e72a975db2c7cc024cba67a9ebdce20321fdba0a
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]