Commit b4aff56
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>1 parent dbf87f9 commit b4aff56
File tree
1 file changed
+7
-1
lines changed- examples/NonReg/HardwareTimer/HardwareTimer_OutputInput_test
1 file changed
+7
-1
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
| |||
404 | 405 | | |
405 | 406 | | |
406 | 407 | | |
| 408 | + | |
407 | 409 | | |
408 | 410 | | |
409 | 411 | | |
410 | 412 | | |
411 | 413 | | |
412 | 414 | | |
| 415 | + | |
413 | 416 | | |
414 | 417 | | |
415 | 418 | | |
416 | 419 | | |
417 | 420 | | |
418 | 421 | | |
| 422 | + | |
419 | 423 | | |
420 | 424 | | |
421 | 425 | | |
422 | 426 | | |
423 | 427 | | |
424 | 428 | | |
| 429 | + | |
425 | 430 | | |
426 | 431 | | |
427 | 432 | | |
| |||
571 | 576 | | |
572 | 577 | | |
573 | 578 | | |
| 579 | + | |
574 | 580 | | |
575 | 581 | | |
576 | 582 | | |
| |||
588 | 594 | | |
589 | 595 | | |
590 | 596 | | |
591 | | - | |
| 597 | + | |
0 commit comments