fix compile warnings/errors

This commit is contained in:
MichaelDvP
2020-11-10 12:46:26 +01:00
parent 027fec29a7
commit 82a35f9a7e
3 changed files with 4 additions and 7 deletions

View File

@@ -300,6 +300,7 @@ void EMSESPShell::add_console_commands() {
"local");
});
#ifndef EMSESP_STANDALONE
commands->add_command(ShellContext::MAIN,
CommandFlags::USER,
flash_string_vector{F_(set), F_(timeout)},
@@ -309,6 +310,7 @@ void EMSESPShell::add_console_commands() {
telnet_.initial_idle_timeout(value * 60);
shell.printfln(F("Telnet timout is %d minutes"), value);
});
#endif
commands->add_command(ShellContext::MAIN,
CommandFlags::ADMIN,