add comments

This commit is contained in:
proddy
2025-12-26 09:33:50 +01:00
parent bbe1f133dc
commit 36271a2c24
2 changed files with 2 additions and 1 deletions

View File

@@ -367,6 +367,7 @@ static void setup_commands(std::shared_ptr<Commands> const & commands) {
commands->add_command(ShellContext::MAIN, CommandFlags::ADMIN, {F_(scan)}, [](Shell & shell, const std::vector<std::string> & arguments) {
EMSESP::scan_devices();
});
/* removed scan deep
commands->add_command(ShellContext::MAIN, CommandFlags::ADMIN, {F_(scan)}, {F_(deep_optional)}, [](Shell & shell, const std::vector<std::string> & arguments) {
if (arguments.empty()) {
@@ -384,6 +385,7 @@ static void setup_commands(std::shared_ptr<Commands> const & commands) {
}
});
*/
// read <deviceID> <type ID> [offset] [length]
commands->add_command(ShellContext::MAIN,
CommandFlags::USER,

View File

@@ -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