mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
tidy up sequence of services, start log and serial console first, catch any board profile errors first
This commit is contained in:
@@ -99,8 +99,6 @@ class EMSESPShell : virtual public uuid::console::Shell {
|
||||
std::string prompt_suffix() override;
|
||||
void end_of_transmission() override;
|
||||
|
||||
// std::string context_text() override;
|
||||
// bool exit_context() override;
|
||||
|
||||
private:
|
||||
void add_console_commands();
|
||||
@@ -128,16 +126,16 @@ class EMSESPStreamConsole : public uuid::console::StreamConsole, public EMSESPSh
|
||||
class Console {
|
||||
public:
|
||||
void loop();
|
||||
void start(bool telnet_enabled = true);
|
||||
void start_serial();
|
||||
void start_telnet();
|
||||
|
||||
uuid::log::Level log_level();
|
||||
|
||||
// static void enter_custom_context(Shell & shell, unsigned int context);
|
||||
static void load_standard_commands(unsigned int context);
|
||||
static void load_system_commands(unsigned int context);
|
||||
|
||||
private:
|
||||
bool telnet_enabled_;
|
||||
bool telnet_enabled_ = false; // telnet is default off
|
||||
};
|
||||
|
||||
} // namespace emsesp
|
||||
|
||||
Reference in New Issue
Block a user