From 033ce0c77a3aac6e920a6775ef0280a538a37d9e Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 17 Jun 2020 16:27:17 +0200 Subject: [PATCH] don't bother with flash strings for print_value --- src/devices/boiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index 680ffd317..56e999aaa 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -351,7 +351,7 @@ void Boiler::show_values(uuid::console::Shell & shell) { buffer[1] = '\0'; strlcpy(s, buffer, 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); @@ -395,7 +395,7 @@ void Boiler::show_values(uuid::console::Shell & shell) { if (Helpers::hasValue(serviceCode_)) { shell.printfln(F(" System service code: %s (%d)"), serviceCodeChar_, serviceCode_); } 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