diff --git a/src/core/console.cpp b/src/core/console.cpp index 08b400dd6..a7dd705b6 100644 --- a/src/core/console.cpp +++ b/src/core/console.cpp @@ -364,6 +364,10 @@ static void setup_commands(std::shared_ptr const & commands) { // EMS device commands // + commands->add_command(ShellContext::MAIN, CommandFlags::ADMIN, {F_(scan)}, [](Shell & shell, const std::vector & arguments) { + EMSESP::scan_devices(); + }); + /* removed scan deep commands->add_command(ShellContext::MAIN, CommandFlags::ADMIN, {F_(scan)}, {F_(deep_optional)}, [](Shell & shell, const std::vector & arguments) { if (arguments.empty()) { EMSESP::scan_devices(); @@ -379,7 +383,7 @@ static void setup_commands(std::shared_ptr const & commands) { } } }); - + */ // read [offset] [length] commands->add_command(ShellContext::MAIN, CommandFlags::USER,