Skip to content

Commit

Permalink
Repair for ArduinoJson 6.20.0 (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
piv3rt authored Jan 2, 2023
1 parent 3c44b38 commit 2295118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pio/lib/Sender/Sender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ bool SenderClass::sendInfluxDB(String server, uint16_t port, String uri, String
msg += kv.key().c_str();
msg += "=";
// check if value is of type char, if so set value in double quotes
if (kv.value().is<char *>())
if (kv.value().is<const char *>())
{
msg += '"' + kv.value().as<String>() + '"';
}
Expand Down

0 comments on commit 2295118

Please sign in to comment.