Update stm32-data
This commit is contained in:
parent
aa8c7f990f
commit
e06628cdfb
1 changed files with 0 additions and 2 deletions
|
@ -310,8 +310,6 @@ impl<'d, T: Instance> I2c<'d, T> {
|
||||||
// through)
|
// through)
|
||||||
self.wait_txe()?;
|
self.wait_txe()?;
|
||||||
|
|
||||||
// Put byte on the wire
|
|
||||||
//self.i2c.txdr.write(|w| w.txdata().bits(*byte));
|
|
||||||
unsafe {
|
unsafe {
|
||||||
T::regs().txdr().write(|w| w.set_txdata(*byte));
|
T::regs().txdr().write(|w| w.set_txdata(*byte));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue