mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-10-27 06:21:26 +00:00
[Build] Fix ESP8266 build issue
This commit is contained in:
1 parent
afbbc545b6
commit
5b98f1ebf1
2 files changed
+2
-2
No files matched your search
@@ -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:
|
||||
{
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user