mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-03 01:31:59 +00:00
The possibility of passing K_FOREVER as the initial duration argument to k_timer_start() wasn't being handled, with the result that the computed value became an zero timeout (effecitvely treating it as K_NO_WAIT and firing at the next tick). This is obviously pathlogical, but it should still do what the code says it should and wait forever. Make k_timer_start(..., K_FOREVER, ...) a noop. Fixes #25820 Signed-off-by: Andy Ross <andrew.j.ross@intel.com> |
||
---|---|---|
.. | ||
include | ||
atomic_c.c | ||
CMakeLists.txt | ||
compiler_stack_protect.c | ||
device.c | ||
errno.c | ||
fatal.c | ||
futex.c | ||
idle.c | ||
init.c | ||
Kconfig | ||
Kconfig.power_mgmt | ||
kheap.c | ||
mailbox.c | ||
mem_domain.c | ||
mem_slab.c | ||
mempool_sys.c | ||
mempool.c | ||
msg_q.c | ||
mutex.c | ||
pipes.c | ||
poll.c | ||
queue.c | ||
sched.c | ||
sem.c | ||
smp.c | ||
stack.c | ||
system_work_q.c | ||
thread_abort.c | ||
thread.c | ||
timeout.c | ||
timer.c | ||
userspace_handler.c | ||
userspace.c | ||
version.c | ||
work_q.c |