Merge pull request #8592 from device111/development

fix start without stop condition
This commit is contained in:
Theo Arends 2020-06-01 15:50:30 +02:00 committed by GitHub
commit e397aaae0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1459,6 +1459,7 @@ bool I2cValidRead(uint8_t addr, uint8_t reg, uint8_t size)
}
retry--;
}
if (!retry) Wire.endTransmission();
return status;
}