Browse Source
z_tick_sleep function needs to calculate expected wakeup tick. It required reading current system clock tick. It can be costly since it is a register access. When timeout is added this value is calculated and z_add_timeout returns it. It can be used instead to optimize sleep performance. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>pull/88677/head
1 changed files with 1 additions and 7 deletions
Loading…
Reference in new issue