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 417f564 commit 85a1cbaCopy full SHA for 85a1cba
drivers/timer/xlnx_tmrctr.c
@@ -266,7 +266,7 @@ static int sys_clock_driver_init(void)
266
return status;
267
}
268
269
-#if !defined(CONFIG_TICKLESS_KERNEL)
+#ifdef CONFIG_TICKLESS_KERNEL
270
xlnx_tmrctr_set_reset_value(TICK_TIMER_COUNTER_NUMBER, CYCLES_NEXT_MAX);
271
xlnx_tmrctr_set_options(TICK_TIMER_COUNTER_NUMBER, XTC_CSR_ENABLE_INT_MASK |
272
XTC_CSR_DOWN_COUNT_MASK);
0 commit comments