mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
minor tidyups
This commit is contained in:
@@ -352,7 +352,6 @@ char * EMSdevice::show_telegram_handlers(char * result) {
|
||||
|
||||
char str[10];
|
||||
uint8_t i = 0;
|
||||
// for (const auto & tf : *telegram_functions_) {
|
||||
for (const auto & tf : telegram_functions_) {
|
||||
snprintf_P(str, sizeof(str), PSTR("0x%02X"), tf.telegram_type_id_);
|
||||
strlcat(result, str, 200);
|
||||
@@ -572,8 +571,6 @@ bool EMSdevice::generate_values_json(JsonObject & root, const uint8_t tag_filter
|
||||
// we have a tag if it matches the filter given, and that the tag name is not empty/""
|
||||
bool have_tag = ((dv.tag != tag_filter) && !tag_to_string(dv.tag).empty());
|
||||
|
||||
// EMSESP::logger().info(F("**HERE: console=%d nested=%d tag_filter=%d tag=%d type=%d short=%s"), console, nested, tag_filter, dv.tag, dv.type, uuid::read_flash_string(dv.short_name).c_str());
|
||||
|
||||
char name[80];
|
||||
if (console) {
|
||||
// prefix the tag in brackets, unless it's Boiler because we're naughty and use tag for the MQTT topic
|
||||
|
||||
Reference in New Issue
Block a user