Skip to content
Commit 7afc5932 authored by Ricardo Rivera-Matos's avatar Ricardo Rivera-Matos Committed by Anas Nashif
Browse files

regulator: regulator_common: Cleans sleep related preprocesor directives



Removes conditional calling k_busy_wait() on single threaded
systems and uses k_sleep for both single and multi threaded
systems.

Commit e375d82 ("kernel: Implement k_sleep for Single Thread")
eliminated the need to call k_busy_wait() on single threaded
systems in place of k_sleep.

Signed-off-by: default avatarRicardo Rivera-Matos <rriveram@opensource.cirrus.com>
parent 3431d09f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment