From 36271a2c24824fedaad1dd7abed6b81ae288cd5f Mon Sep 17 00:00:00 2001 From: proddy Date: Fri, 26 Dec 2025 09:33:50 +0100 Subject: [PATCH] add comments --- src/core/console.cpp | 2 ++ src/core/telegram.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/console.cpp b/src/core/console.cpp index f7141baf0..f0b45cf00 100644 --- a/src/core/console.cpp +++ b/src/core/console.cpp @@ -367,6 +367,7 @@ static void setup_commands(std::shared_ptr const & 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()) { @@ -384,6 +385,7 @@ static void setup_commands(std::shared_ptr const & commands) { } }); */ + // read [offset] [length] commands->add_command(ShellContext::MAIN, CommandFlags::USER, diff --git a/src/core/telegram.h b/src/core/telegram.h index b6baeae71..99390f826 100644 --- a/src/core/telegram.h +++ b/src/core/telegram.h @@ -204,7 +204,6 @@ class EMSbus { #endif } - // sets the flag for EMS bus connected static void last_bus_activity(uint32_t timestamp) { // record the first time we connected to the BUS, as this will be our uptime