mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
don't bother with flash strings for print_value
This commit is contained in:
@@ -351,7 +351,7 @@ void Boiler::show_values(uuid::console::Shell & shell) {
|
|||||||
buffer[1] = '\0';
|
buffer[1] = '\0';
|
||||||
strlcpy(s, buffer, 7);
|
strlcpy(s, buffer, 7);
|
||||||
strlcat(s, "x3min", 7);
|
strlcat(s, "x3min", 7);
|
||||||
print_value(shell, 2, F("Warm Water circulation pump freq"), FPSTR(s)); // TODO check
|
print_value(shell, 2, F("Warm Water circulation pump freq"), s);
|
||||||
}
|
}
|
||||||
print_value(shell, 2, F("Warm Water circulation active"), wWCirc_, nullptr, EMS_VALUE_BOOL);
|
print_value(shell, 2, F("Warm Water circulation active"), wWCirc_, nullptr, EMS_VALUE_BOOL);
|
||||||
|
|
||||||
@@ -395,7 +395,7 @@ void Boiler::show_values(uuid::console::Shell & shell) {
|
|||||||
if (Helpers::hasValue(serviceCode_)) {
|
if (Helpers::hasValue(serviceCode_)) {
|
||||||
shell.printfln(F(" System service code: %s (%d)"), serviceCodeChar_, serviceCode_);
|
shell.printfln(F(" System service code: %s (%d)"), serviceCodeChar_, serviceCode_);
|
||||||
} else if (serviceCodeChar_[0] != '\0') {
|
} else if (serviceCodeChar_[0] != '\0') {
|
||||||
print_value(shell, 2, F("System service code"), FPSTR(serviceCodeChar_)); // TODO check
|
print_value(shell, 2, F("System service code"), serviceCodeChar_);
|
||||||
}
|
}
|
||||||
|
|
||||||
// UBAParameters
|
// UBAParameters
|
||||||
|
|||||||
Reference in New Issue
Block a user