mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-14 07:41:56 +00:00
When the timer frequency is not a multiple of 1000 converting between ticks and milliseconds introduces error. Avoid propagating the error by converting divided values rather than dividing converted values. Also compensate for observed rate differences between the busywait clock and the timeout clock. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no> |
||
---|---|---|
.. | ||
common | ||
context | ||
device | ||
early_sleep | ||
fatal | ||
fifo | ||
fpu_sharing | ||
gen_isr_table | ||
interrupt | ||
lifo | ||
mbox | ||
mem_heap/mheap_api_concept | ||
mem_pool | ||
mem_protect | ||
mem_slab | ||
mp | ||
msgq/msgq_api | ||
mutex | ||
obj_tracing | ||
pending | ||
pipe | ||
poll | ||
profiling/profiling_api | ||
queue | ||
sched | ||
semaphore/semaphore | ||
sleep | ||
smp | ||
spinlock | ||
stack/stack | ||
threads | ||
tickless | ||
timer | ||
workq | ||
xip |