We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 578a082 commit 7badc7dCopy full SHA for 7badc7d
src/modm/architecture/interface/i2c_device.hpp
@@ -134,7 +134,7 @@ class I2cDevice
134
runTransaction()
135
{
136
modm::this_fiber::poll([&]{ return startTransaction(); });
137
- modm::this_fiber::poll([&]{ return isTransactionRunning(); });
+ modm::this_fiber::poll([&]{ return not isTransactionRunning(); });
138
return wasTransactionSuccessful();
139
}
140
0 commit comments