This commit is contained in:
Henrik Alsér 2022-07-06 23:31:30 +02:00 committed by Dario Nieuwenhuis
parent 2460d21fa4
commit 02812754ec

View File

@ -855,7 +855,6 @@ mod eh1 {
type Error = Error; type Error = Error;
} }
impl<'d, T: Instance> embedded_hal_1::i2c::blocking::I2c for I2c<'d, T> { impl<'d, T: Instance> embedded_hal_1::i2c::blocking::I2c for I2c<'d, T> {
fn read(&mut self, address: u8, buffer: &mut [u8]) -> Result<(), Self::Error> { fn read(&mut self, address: u8, buffer: &mut [u8]) -> Result<(), Self::Error> {
self.blocking_read(address, buffer) self.blocking_read(address, buffer)