mirror of
https://github.com/apache/nuttx.git
synced 2026-05-14 02:58:01 +08:00
2ae62d71a6
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>