From 0fe818f4f8343668baa9e04697a7095de830f5b6 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 cf6011c2..72cc46c0 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; }