From df1653ac992e1e10f059737cb1e6cb1e265e8d68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ara=C3=BAjo?= Date: Thu, 11 Feb 2021 18:46:06 +0000 Subject: [PATCH 1/2] Fix EZO sensors on esp32 --- tasmota/xsns_78_ezo.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xsns_78_ezo.ino b/tasmota/xsns_78_ezo.ino index a33ad9cdc..d1e27fc01 100644 --- a/tasmota/xsns_78_ezo.ino +++ b/tasmota/xsns_78_ezo.ino @@ -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; } From 5e1c7815fb7f9a2199a0062b745de15a38b22e00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Ara=C3=BAjo?= Date: Thu, 11 Feb 2021 18:46:06 +0000 Subject: [PATCH 2/2] Fix EZO sensors on esp32 --- tasmota/xsns_78_ezo.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xsns_78_ezo.ino b/tasmota/xsns_78_ezo.ino index a33ad9cdc..d1e27fc01 100644 --- a/tasmota/xsns_78_ezo.ino +++ b/tasmota/xsns_78_ezo.ino @@ -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; }