mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 16:23:10 +00:00
Update stm32-data
This commit is contained in:
parent
aa8c7f990f
commit
e06628cdfb
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user