Skip to content

Commit f07a484

Browse files
authored
Merge pull request #344 from pennam/wire_patch
Don't call slave->stop()
2 parents 1f87e87 + 28774fe commit f07a484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/Wire/Wire.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ void arduino::MbedI2C::receiveThd() {
162162
if (rxBuffer.available() > 0 && onReceiveCb != NULL) {
163163
onReceiveCb(rxBuffer.available());
164164
}
165-
slave->stop();
165+
//slave->stop();
166166
break;
167167
case mbed::I2CSlave::NoData:
168168
//slave->stop();

0 commit comments

Comments
 (0)