From 541b479b0581203f60c0687ef4c62be37033842b Mon Sep 17 00:00:00 2001 From: anton smeenk Date: Sun, 5 Nov 2023 09:36:43 +0100 Subject: [PATCH] Added enum NoTransaction in funciton kind to make it work for feature unstable-traits --- embassy-stm32/src/i2c/v2.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/embassy-stm32/src/i2c/v2.rs b/embassy-stm32/src/i2c/v2.rs index f17bfc33..6c4e0a4c 100644 --- a/embassy-stm32/src/i2c/v2.rs +++ b/embassy-stm32/src/i2c/v2.rs @@ -1197,6 +1197,7 @@ mod eh1 { Self::Overrun => embedded_hal_1::i2c::ErrorKind::Overrun, Self::ZeroLengthTransfer => embedded_hal_1::i2c::ErrorKind::Other, Self::BufferSize => embedded_hal_1::i2c::ErrorKind::Other, + Self::NoTransaction => embedded_hal_1::i2c::ErrorKind::Other, } } }