diff options
| author | Thales Fragoso <[email protected]> | 2021-07-14 12:11:11 -0300 |
|---|---|---|
| committer | Thales Fragoso <[email protected]> | 2021-07-14 23:39:50 -0300 |
| commit | e06628cdfb3beba766c93b1ab09c237115c77d9c (patch) | |
| tree | ba9223af4a60e9b36eab9cc8438e7f8b894c8da8 | |
| parent | aa8c7f990f3d00ddf8305dae7d278399d9573ecb (diff) | |
Update stm32-data
| -rw-r--r-- | embassy-stm32/src/i2c/v2.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/embassy-stm32/src/i2c/v2.rs b/embassy-stm32/src/i2c/v2.rs index a5eb5612d..3179211ec 100644 --- a/embassy-stm32/src/i2c/v2.rs +++ b/embassy-stm32/src/i2c/v2.rs | |||
| @@ -310,8 +310,6 @@ impl<'d, T: Instance> I2c<'d, T> { | |||
| 310 | // through) | 310 | // through) |
| 311 | self.wait_txe()?; | 311 | self.wait_txe()?; |
| 312 | 312 | ||
| 313 | // Put byte on the wire | ||
| 314 | //self.i2c.txdr.write(|w| w.txdata().bits(*byte)); | ||
| 315 | unsafe { | 313 | unsafe { |
| 316 | T::regs().txdr().write(|w| w.set_txdata(*byte)); | 314 | T::regs().txdr().write(|w| w.set_txdata(*byte)); |
| 317 | } | 315 | } |
