Skip to content
Commit ad849deb authored by Bastien Beauchamp's avatar Bastien Beauchamp Committed by Henrik Brix Andersen
Browse files

pm: skip min_residency_ticks calculation if input is 0



In the default PM policy, the function k_us_to_ticks_ceil32() is used
and does calculation using 64-bit integers which can be slow and
avoidable if the input is 0.

Signed-off-by: default avatarBastien Beauchamp <bastien.beauchamp@silabs.com>
parent 0f948aba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment