commit | 01ff7ba6e16c989dd7a2a7e16549063fad4ccade | [log] [tgz] |
---|---|---|
author | Julien D'Ascenzio <julien.dascenzio@paratronic.fr> | Wed Jun 03 13:55:57 2020 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Thu Jun 04 22:10:45 2020 +0200 |
tree | 61109c57874f87f6cb907e33b146cae27ba1d214 | |
parent | ea7140ba63d90221784b81f863747193dbc29e7d [diff] |
driver: timer: stm32_lptim: fix deadlock when waiting ARROK flag If ticks is K_TICKS_FOREVER the register autoreload isn't set. So, on the next call to the z_clock_set_timeout function the wait for the flag ARROK will be infinite. Signed-off-by: Julien D'Ascenzio <julien.dascenzio@paratronic.fr>