HardwareTimer: pause() needed before setMode() and resume()
Due to HAL strict management of its internal state,
introduced with HAL Cube update (ex: for STM32L4 sha1 f41f10e),
it is now required to pause() timer before setMode() and resume()
otherwise HAL state is busy and timer is not (re)started.
HardwareTimer: pause() needed before setMode() and resume()
Due to HAL strict management of its internal state, introduced with HAL Cube update (ex: for STM32L4 sha1 f41f10e), it is now required to pause() timer before setMode() and resume() otherwise HAL state is busy and timer is not (re)started.
Signed-off-by: Alexandre Bourdiol alexandre.bourdiol@st.com