From 221131f9d3e5099d4e791d5e33bc89686d2f853f Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 22 Nov 2025 22:36:43 +0100 Subject: [PATCH] restart after setting board profile in console --- src/core/console.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/console.cpp b/src/core/console.cpp index 592e0fe15..65dd55a0e 100644 --- a/src/core/console.cpp +++ b/src/core/console.cpp @@ -320,8 +320,8 @@ static void setup_commands(std::shared_ptr const & commands) { settings.eth_clock_mode = data[8]; return StateUpdateResult::CHANGED; }); - shell.printfln("Loaded board profile %s", board_profile.c_str()); - EMSESP::system_.network_init(); + shell.printfln("Loaded board profile %s. Restarting...", board_profile.c_str()); + EMSESP::system_.system_restart(); }); commands->add_command( @@ -338,7 +338,7 @@ static void setup_commands(std::shared_ptr const & commands) { return StateUpdateResult::CHANGED; }); } else { - shell.println("Must be 0B, 0D, 0A, 0E, 0F, or 48 - 4D"); + shell.println("Must be 0B, 0D, 0A, 0E, 0F or 48-4D"); } }, [](Shell & shell, const std::vector & current_arguments, const std::string & next_argument) -> std::vector {