mirror of
https://github.com/apache/nuttx.git
synced 2026-08-04 13:49:06 +00:00
The hrtimer subsystem is independent of the OS tick mechanism and tickless mode. It must always be able to reprogram the hardware timer to achieve nanosecond-level resolution. A recent update restricted hardware timer reprogramming to tickless mode only. As a result, hrtimer no longer functions correctly when the scheduler is running in tick-based mode. This change removes the incorrect dependency on tickless mode and restores proper hrtimer operation. Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| hrtimer.h | ||
| hrtimer_cancel.c | ||
| hrtimer_gettime.c | ||
| hrtimer_initialize.c | ||
| hrtimer_process.c | ||
| hrtimer_start.c | ||
| Make.defs | ||