Skip to content

Commit

Permalink
fix compilation with newer Arduino framework (#20641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Staars committed Feb 2, 2024
1 parent 9c45a51 commit c24c0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasmota/tasmota_xdrv_driver/xdrv_52_3_berry_wire.ino
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ extern "C" {
myWire.write(value);
} else if (be_isstring(vm, 2)) {
const char * s = be_tostring(vm, 1);
myWire.write(s);
myWire.write((uint8_t*) s, strlen(s));
} else if ((buf = be_tobytes(vm, 2, &len)) != nullptr) {
myWire.write((uint8_t*) buf, len);
} else {
Expand Down

0 comments on commit c24c0a5

Please sign in to comment.