Skip to content

Commit 75f8ee9

Browse files
committed
fix(libraries/Wire): restore an accidentally deleted implementation
TwoWire::endTransmission() was accidentally deleted from a cpp file.
1 parent 1b9f656 commit 75f8ee9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libraries/Wire/src/Wire.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,11 @@ uint8_t TwoWire::endTransmission(bool sendStop)
488488
return 4;
489489
}
490490

491+
uint8_t TwoWire::endTransmission()
492+
{
493+
return endTransmission(true);
494+
}
495+
491496
size_t TwoWire::requestFrom(uint8_t address, size_t size, bool sendStop)
492497
{
493498
#if SOC_I2C_SUPPORT_SLAVE

0 commit comments

Comments
 (0)