k_timer_start(timer, duration, period) is API used to start a timer. Currently duration parameters accepts only positive number. But a user may require to do some periodic activity ASAP and start timer with 0 value. So this patch allows 0 as minimum value of duration. In this patch, when duration value is set as 0 then timer expiration handler is called instead of submiting this into timeout queue. Jira: ZEP-2497 Signed-off-by: Youvedeep Singh <youvedeep.singh@intel.com> |
||
|---|---|---|
| .. | ||
| gen_offset.h | ||
| kernel_offsets.h | ||
| kernel_structs.h | ||
| ksched.h | ||
| nano_internal.h | ||
| offsets_short.h | ||
| timeout_q.h | ||
| wait_q.h | ||