From 17a28d246de234cc3b3d24cb548bf0dabde2170b Mon Sep 17 00:00:00 2001 From: proddy Date: Thu, 10 Jun 2021 23:10:48 +0200 Subject: [PATCH] remove old code --- src/emsdevice.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/emsdevice.cpp b/src/emsdevice.cpp index 1c88601f1..e77dd2ced 100644 --- a/src/emsdevice.cpp +++ b/src/emsdevice.cpp @@ -425,11 +425,6 @@ void EMSdevice::register_mqtt_topic(const std::string & topic, mqtt_subfunction_ Mqtt::subscribe(device_type_, topic, f); } -// add command to library -// void EMSdevice::register_cmd(const __FlashStringHelper * cmd, cmdfunction_p f, uint8_t flag) { -// Command::add(device_type_, cmd, f, flag); -// } - // register a callback function for a specific telegram type void EMSdevice::register_telegram_type(const uint16_t telegram_type_id, const __FlashStringHelper * telegram_type_name, bool fetch, process_function_p f) { telegram_functions_.emplace_back(telegram_type_id, telegram_type_name, fetch, f);