Skip to content
Snippets Groups Projects
Commit 3972d36c authored by Martino Facchin's avatar Martino Facchin
Browse files

Wire: allow scanning bus via beginTransmission-endTransmission

parent b0e8ff06
No related branches found
No related tags found
No related merge requests found
......@@ -109,12 +109,6 @@ uint8_t TwoWire::endTransmission(bool stopBit)
{
transmissionBegun = false ;
// Check if there are data to send
if ( txBuffer.available() == 0)
{
return 4 ;
}
// Start I2C transmission
if ( !sercom->startTransmissionWIRE( txAddress, WIRE_WRITE_FLAG ) )
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment