From c347f00c6c44f43d34bb7a219fcd4d22bae73ce0 Mon Sep 17 00:00:00 2001 From: Christopher Durand Date: Wed, 1 Feb 2023 16:07:48 +0100 Subject: [PATCH] [stm32] Start next I2C transaction also when previous failed with NACK --- src/modm/platform/i2c/stm32-extended/i2c_master.cpp.in | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modm/platform/i2c/stm32-extended/i2c_master.cpp.in b/src/modm/platform/i2c/stm32-extended/i2c_master.cpp.in index a87314e6e3..e138dcc569 100644 --- a/src/modm/platform/i2c/stm32-extended/i2c_master.cpp.in +++ b/src/modm/platform/i2c/stm32-extended/i2c_master.cpp.in @@ -396,6 +396,7 @@ MODM_ISR(I2C{{ id }}_EV) transaction->detaching(modm::I2c::DetachCause::ErrorCondition); transaction = nullptr; } + callNextTransaction(); } else if (nextOperation == modm::I2c::Operation::Stop) {