Merge pull request #10923 from wipcentre/feature/ezosensor

Fix EZO sensors on ESP32
This commit is contained in:
Theo Arends 2021-02-12 10:22:24 +01:00 committed by GitHub
commit bbcfe13590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ struct EZOStruct {
{
// Transmit our command verbatim
Wire.beginTransmission(addr);
Wire.write(cmd, len);
Wire.write((uint8_t*)cmd, len);
if (Wire.endTransmission() != 0) {
return;
}