xiaoxiang781216 commented on code in PR #18174:
URL: https://github.com/apache/nuttx/pull/18174#discussion_r2730580781
##########
sched/wdog/wdog.h:
##########
@@ -114,10 +114,15 @@ static inline_function clock_t
wd_adjust_next_tick(clock_t tick)
static inline_function void wd_timer_start(clock_t tick)
{
clock_t next_tick = wd_adjust_next_tick(tick);
-#ifdef CONFIG_SCHED_TICKLESS_ALARM
- up_alarm_tick_start(next_tick);
+
+#ifdef CONFIG_HRTIMER
+ nxsched_hrtimer_tick_start(tick);
#else
+# ifdef CONFIG_SCHED_TICKLESS_ALARM
Review Comment:
`#elif defined(CONFIG_SCHED_TICKLESS_ALARM)`
--
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]