minor text changes

This commit is contained in:
Proddy
2024-01-21 18:28:07 +01:00
parent 79d7142e5f
commit 2764185132
4 changed files with 8 additions and 4 deletions

View File

@@ -642,6 +642,7 @@ bool AnalogSensor::get_value_info(JsonObject output, const char * cmd, const int
if (sensors_.empty()) {
return true;
}
// make a copy of the string command for parsing
char command_s[30];
strlcpy(command_s, cmd, sizeof(command_s));