From 5740a8ee0d7e1713c3e4dd3fcd5c54cdec7c1eb1 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 26 Jun 2019 22:01:56 +0200 Subject: [PATCH] dont use program for help text --- lib/MyESP/MyESP.cpp | 8 ++++---- lib/MyESP/MyESP.h | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/MyESP/MyESP.cpp b/lib/MyESP/MyESP.cpp index de12cf146..2b7e63bb0 100644 --- a/lib/MyESP/MyESP.cpp +++ b/lib/MyESP/MyESP.cpp @@ -614,12 +614,12 @@ void MyESP::_consoleShowHelp() { for (uint8_t i = 0; i < _helpProjectCmds_count; i++) { if (!_helpProjectCmds[i].set) { - SerialAndTelnet.print(FPSTR("* ")); - SerialAndTelnet.print(FPSTR(_helpProjectCmds[i].key)); + SerialAndTelnet.print("* "); + SerialAndTelnet.print(_helpProjectCmds[i].key); for (uint8_t j = 0; j < ((max_len + 5) - strlen(_helpProjectCmds[i].key)); j++) { // account for longest string length - SerialAndTelnet.print(FPSTR(" ")); // padding + SerialAndTelnet.print(" "); // padding } - SerialAndTelnet.println(FPSTR(_helpProjectCmds[i].description)); + SerialAndTelnet.println(_helpProjectCmds[i].description); } } } diff --git a/lib/MyESP/MyESP.h b/lib/MyESP/MyESP.h index 082075edd..5b4b9c073 100644 --- a/lib/MyESP/MyESP.h +++ b/lib/MyESP/MyESP.h @@ -216,7 +216,8 @@ const char webResetPage_form[] = "
"" "
"; -const char webResetPage_post[] = "

New wifi credentials set. System is now rebooting. Please wait a few seconds and then reconnect via telnet or browser to its new IP given address.

"; +const char webResetPage_post[] = + "

New wifi credentials set. System is now rebooting. Please wait a few seconds and then reconnect via telnet or browser to its new IP given address.

"; const char webResetAllPage_form[] = "
" ""