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

regulator: cp9314: 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 7afc5932
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment