mirror of
https://github.com/apache/nuttx.git
synced 2026-05-18 17:18:28 +08:00
a518c28add
The hrtimer is designed to replace the wdog timer in future, so it should have the callback function in its API. The evaluation results showed there is no any performance degradation since the CPU pipeline can hide the latency. This commit also decoupled the rb-tree implementation with the pending state checking. Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>