mirror of
https://github.com/apache/nuttx.git
synced 2026-09-08 09:56:33 +00:00
dispatch_walltime() expects a delta in nanoseconds from now, but the previous code subtracted CLOCK_REALTIME from a CLOCK_MONOTONIC absolute timestamp, which have different epochs and produce a meaningless result. Fix by subtracting the current CLOCK_MONOTONIC absolute time to get the correct remaining duration. Signed-off-by: Lingao Meng <menglingao@xiaomi.com> |
||
|---|---|---|
| .. | ||
| include | ||
| src | ||
| CMakeLists.txt | ||
| Kconfig | ||