Commit 2a1ff77
committed
HardwareTimer: pause() need to call HAL API to restore HAL state
Due to HAL Cube update it is now required to stop timer with HAL API
otherwise HAL state is not restored to HAL_TIM_STATE_READY.
Nevertheless it is not sufficient to guarantee that timer is stopped.
specially if some channels are still running.
So it is also necessary to call LL_TIM_DisableCounter()
Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>1 parent 8c34ed0 commit 2a1ff77
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
| |||
0 commit comments