[Build] Fix ESP8266 build issue

This commit is contained in:
TD-er committed 2026-09-10 22:19:48 +02:00
1 parent afbbc545b6
commit 5b98f1ebf1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -536,7 +536,7 @@ size_t ValueStruct::print(Print& out, ValueType& valueType, bool unformatted) co
if (getCaseFormat(unformatted) == CaseFormat::KeepCase) {
return out.write((const uint8_t *)str_val, _size);
}
return formatCase(out, String((const uint8_t *)str_val, _size));
return formatCase(out, String((const char *)str_val));
}
case ValueStruct::ValueType::FlashString:
{
+1 -1
View File
@@ -147,7 +147,7 @@ void CommandArgParser::debug(const __FlashStringHelper *comment, uint8_t logLeve
if (!loglevelActiveFor(logLevel)) { return; }
String logstr = comment;
if (logstr.isEmpty()) { logstr += F("CommandArgParser:"); }
if (logstr.isEmpty()) { logstr += F("CommandArgParser"); }
logstr += ':';
if (_hasCommand) {