From e06628cdfb3beba766c93b1ab09c237115c77d9c Mon Sep 17 00:00:00 2001 From: Thales Fragoso Date: Wed, 14 Jul 2021 12:11:11 -0300 Subject: [PATCH] Update stm32-data --- embassy-stm32/src/i2c/v2.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/embassy-stm32/src/i2c/v2.rs b/embassy-stm32/src/i2c/v2.rs index a5eb5612..3179211e 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> { // 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)); }