Skip to content

Commit de17650

Browse files
committed
Wire: allow scanning bus via beginTransmissin-endTransmission
1 parent 59b0f43 commit de17650

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Diff for: libraries/Wire/Wire.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,6 @@ uint8_t TwoWire::endTransmission(bool stopBit)
110110
{
111111
transmissionBegun = false ;
112112

113-
// Check if there are data to send
114-
if ( txBuffer.available() == 0)
115-
{
116-
return 4 ;
117-
}
118-
119113
// Start I2C transmission
120114
if ( !sercom->startTransmissionWIRE( txAddress, WIRE_WRITE_FLAG ) )
121115
{

0 commit comments

Comments
 (0)