From 265d43a65d2e5b3997c089ae4499644a9ff4b6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Als=C3=A9r?= Date: Wed, 6 Jul 2022 23:56:44 +0200 Subject: [PATCH] v1 fix --- embassy-stm32/src/i2c/v1.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/i2c/v1.rs b/embassy-stm32/src/i2c/v1.rs index cf6011c26..72cc46c04 100644 --- a/embassy-stm32/src/i2c/v1.rs +++ b/embassy-stm32/src/i2c/v1.rs @@ -301,7 +301,7 @@ mod eh1 { } } - impl<'d, T: Instance, TXDMA: TxDma, RXDMA: RxDma> embedded_hal_1::i2c::ErrorType for I2c<'d, T, TXDMA, RXDMA> { + impl<'d, T: Instance> embedded_hal_1::i2c::ErrorType for I2c<'d, T> { type Error = Error; }