From 7197df981298775221aa8cd976da00668620c4c4 Mon Sep 17 00:00:00 2001 From: proddy Date: Mon, 15 Nov 2021 14:25:04 +0100 Subject: [PATCH] replace read_flash_string --- src/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system.cpp b/src/system.cpp index 130d22621..cf1ee79a7 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -830,7 +830,7 @@ void System::show_system(uuid::console::Shell & shell) { } else { shell.printfln(F("Syslog: %s"), syslog_.started() ? "started" : "stopped"); shell.print(F(" ")); - shell.printfln(F_(host_fmt), !syslog_host_.isEmpty() ? syslog_host_.c_str() : uuid::read_flash_string(F_(unset)).c_str()); + shell.printfln(F_(host_fmt), !syslog_host_.isEmpty() ? syslog_host_.c_str() : read_flash_string(F_(unset)).c_str()); shell.printfln(F(" IP: %s"), uuid::printable_to_string(syslog_.ip()).c_str()); shell.print(F(" ")); shell.printfln(F_(port_fmt), syslog_port_);