diff --git a/src/emsdevice.cpp b/src/emsdevice.cpp index 2c3f5e841..d437a7e82 100644 --- a/src/emsdevice.cpp +++ b/src/emsdevice.cpp @@ -1428,7 +1428,7 @@ void EMSdevice::dump_value_info() { #if defined(EMSESP_STANDALONE) void EMSdevice::dump_telegram_info(std::vector & telegram_functions_dump) { for (auto & tf : telegram_functions_) { - telegram_functions_dump.emplace_back(tf.telegram_type_id_, tf.telegram_type_name_, tf.fetch_, tf.process_function_ != nullptr); + telegram_functions_dump.emplace_back(tf.telegram_type_id_, tf.telegram_type_name_, tf.fetch_); } } #endif diff --git a/src/emsdevice.h b/src/emsdevice.h index 8e6600177..d9e299830 100644 --- a/src/emsdevice.h +++ b/src/emsdevice.h @@ -471,12 +471,10 @@ class EMSdevice { uint16_t type_id_; const char * name_; bool fetch_; - bool cmd_; - TelegramFunctionDump(uint16_t type_id, const char * name, bool fetch, bool cmd) + TelegramFunctionDump(uint16_t type_id, const char * name, bool fetch) : type_id_(type_id) , name_(name) - , fetch_(fetch) - , cmd_(cmd) { + , fetch_(fetch) { } }; void dump_telegram_info(std::vector & telegram_functions_dump); diff --git a/src/emsesp.cpp b/src/emsesp.cpp index dafce0aae..0bb86b473 100644 --- a/src/emsesp.cpp +++ b/src/emsesp.cpp @@ -429,8 +429,6 @@ void EMSESP::dump_all_telegrams(uuid::console::Shell & shell) { Serial.print(tf.name_); Serial.print(','); Serial.print(tf.fetch_ ? "fetched" : " "); - Serial.print(','); - Serial.print(tf.cmd_ ? "cmd" : " "); Serial.println(); }