commit | 86de6b71a40906b2aa26d8af122ab3e2a6465a8e | [log] [tgz] |
---|---|---|
author | Henrik Brix Andersen <hebad@vestas.com> | Fri Sep 09 10:24:36 2022 +0200 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Fri Sep 09 15:28:41 2022 +0000 |
tree | 481c4b7233038e30872d56a0467f047d03330745 | |
parent | d41c56c43047171c5041cb58650e82df16177ffc [diff] |
sys: util: fix WAIT_FOR() timeout calculation Use k_us_to_cyc_ceil32() for calculating the number of hardware cycles for the given timeout value instead of using a custom calculation. Fixes: #50032 Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>