Skip to content
Snippets Groups Projects
Commit 0f4b0d81 authored by Cristian Maglie's avatar Cristian Maglie
Browse files

Merge branch 'i2c_scan_fix' of https://github.com/facchinm/ArduinoCore-samd into HEAD

parents 6f2482c4 3972d36c
No related branches found
No related tags found
No related merge requests found
......@@ -111,12 +111,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