aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Alsér <[email protected]>2022-07-06 23:31:30 +0200
committerDario Nieuwenhuis <[email protected]>2022-07-07 15:46:30 +0200
commit02812754ec8fb13c26163e0e741b46f12abba202 (patch)
treed5b28201652cfd59fb7c73084212d0b8a8f0ec7d
parent2460d21fa43e0f454ce4068761ac34f36929df8d (diff)
rustfmt
-rw-r--r--embassy-stm32/src/i2c/v2.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/embassy-stm32/src/i2c/v2.rs b/embassy-stm32/src/i2c/v2.rs
index 69988fd6e..9309d7725 100644
--- a/embassy-stm32/src/i2c/v2.rs
+++ b/embassy-stm32/src/i2c/v2.rs
@@ -855,7 +855,6 @@ mod eh1 {
855 type Error = Error; 855 type Error = Error;
856 } 856 }
857 857
858
859 impl<'d, T: Instance> embedded_hal_1::i2c::blocking::I2c for I2c<'d, T> { 858 impl<'d, T: Instance> embedded_hal_1::i2c::blocking::I2c for I2c<'d, T> {
860 fn read(&mut self, address: u8, buffer: &mut [u8]) -> Result<(), Self::Error> { 859 fn read(&mut self, address: u8, buffer: &mut [u8]) -> Result<(), Self::Error> {
861 self.blocking_read(address, buffer) 860 self.blocking_read(address, buffer)