kernel: k_sleep: fix return value for absolute timeout
Fixes calculation of remaining ticks returned from z_tick_sleep
so that it takes absolute timeouts into account.
Fixes #32506
Signed-off-by:
Lauren Murphy <lauren.murphy@intel.com>
Loading
Please sign in to comment