Skip to content

Commit 5c37796

Browse files
committed
stm32/i2c: remove busy waiting on BUSY flag in v2
1 parent 4dedc13 commit 5c37796

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

embassy-stm32/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased - ReleaseDate
99

10+
- fix: stm32/i2c fix busy waiting on BUSY flag in v2
1011
- fix: flash erase on dual-bank STM32Gxxx
1112
- feat: Add support for STM32N657X0
1213
- feat: timer: Add 32-bit timer support to SimplePwm waveform_up method following waveform pattern ([#4717](https://github.com/embassy-rs/embassy/pull/4717))

embassy-stm32/src/i2c/v2.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,6 @@ impl<'d, M: Mode, IM: MasterMode> I2c<'d, M, IM> {
183183
timeout.check()?;
184184
}
185185

186-
// Wait for the bus to be free
187-
while info.regs.isr().read().busy() {
188-
timeout.check()?;
189-
}
190-
191186
let reload = if reload {
192187
i2c::vals::Reload::NOT_COMPLETED
193188
} else {

0 commit comments

Comments
 (0)