stm32/i2c: impl ErrorType for all.

This commit is contained in:
Dario Nieuwenhuis 2022-07-07 15:45:59 +02:00
parent 399e7a4791
commit 01ef03f446

View File

@ -851,7 +851,7 @@ mod eh1 {
} }
} }
impl<'d, T: Instance, TXDMA: TxDma<T>, RXDMA: RxDma<T>> embedded_hal_1::i2c::ErrorType for I2c<'d, T, TXDMA, RXDMA> { impl<'d, T: Instance, TXDMA, RXDMA> embedded_hal_1::i2c::ErrorType for I2c<'d, T, TXDMA, RXDMA> {
type Error = Error; type Error = Error;
} }