mirror of
https://github.com/rtic-rs/rtic.git
synced 2025-12-18 13:55:23 +01:00
[monotonics] Fix STM32 read-modify-write race condition (#984)
* Fix stm32 read-modify-write problem The `SR` register for STM32 clears when writing a zero to a bit. Therefore, all registers that should not be cleared need to be `1`. `modify` here caused a read-modify-write error that could clear unrelated flags. * Add changelog * Make initialization more deterministic * Update changelog * Beautification in comments --------- Co-authored-by: Martin Stumpf <martin.stumpf@vected.de>
This commit is contained in:
parent
0f532c6b48
commit
3dfef74a4c
2 changed files with 28 additions and 6 deletions
|
|
@ -15,6 +15,11 @@ For each category, *Added*, *Changed*, *Fixed* add new entries at the top!
|
|||
|
||||
- Update `esp32c3` dependency
|
||||
|
||||
### Fixed
|
||||
|
||||
- STM32: Make initialization more deterministic
|
||||
- STM32: Fix race condition that caused missed interrupts
|
||||
|
||||
## v2.0.2 - 2024-07-05
|
||||
|
||||
### Added
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue