We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Won't compile with current ArduinoJson. Simple fix adding: const
@@ -1644,7 +1644,7 @@ if (!err) { JsonObject root = doc.as<JsonObject>(); if (root.containsKey("btn_single_click")) { - char *tmp = (char *)root["btn_single_click"].as<char*>(); + char *tmp = (char *)root["btn_single_click"].as<const char*>(); char * const sep_at = strchr(tmp, '_'); if (sep_at != NULL) { *sep_at = '\0';
The text was updated successfully, but these errors were encountered:
Thanks for post the solution
Sorry, something went wrong.
No branches or pull requests
Won't compile with current ArduinoJson. Simple fix adding: const
The text was updated successfully, but these errors were encountered: