Update stm32-data

This commit is contained in:
Thales Fragoso 2021-07-14 12:11:11 -03:00
parent aa8c7f990f
commit e06628cdfb

View file

@ -310,8 +310,6 @@ impl<'d, T: Instance> I2c<'d, T> {
// through)
self.wait_txe()?;
// Put byte on the wire
//self.i2c.txdr.write(|w| w.txdata().bits(*byte));
unsafe {
T::regs().txdr().write(|w| w.set_txdata(*byte));
}