mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
fix debug message in console help
This commit is contained in:
@@ -670,9 +670,9 @@ void EMSESPShell::end_of_transmission() {
|
|||||||
void EMSESPShell::main_help_function(Shell & shell, const std::vector<std::string> & arguments) {
|
void EMSESPShell::main_help_function(Shell & shell, const std::vector<std::string> & arguments) {
|
||||||
shell.println();
|
shell.println();
|
||||||
#if defined(EMSESP_DEBUG)
|
#if defined(EMSESP_DEBUG)
|
||||||
shell.printfln("%s%sEMS-ESP version %s%s", COLOR_BRIGHT_GREEN, COLOR_BOLD_ON, EMSESP_APP_VERSION, COLOR_RESET);
|
|
||||||
#else
|
|
||||||
shell.printfln("%s%sEMS-ESP version %s%s (DEBUG)", COLOR_BRIGHT_GREEN, COLOR_BOLD_ON, EMSESP_APP_VERSION, COLOR_RESET);
|
shell.printfln("%s%sEMS-ESP version %s%s (DEBUG)", COLOR_BRIGHT_GREEN, COLOR_BOLD_ON, EMSESP_APP_VERSION, COLOR_RESET);
|
||||||
|
#else
|
||||||
|
shell.printfln("%s%sEMS-ESP version %s%s", COLOR_BRIGHT_GREEN, COLOR_BOLD_ON, EMSESP_APP_VERSION, COLOR_RESET);
|
||||||
#endif
|
#endif
|
||||||
shell.println();
|
shell.println();
|
||||||
shell.print_all_available_commands();
|
shell.print_all_available_commands();
|
||||||
|
|||||||
Reference in New Issue
Block a user