From c3dcf6509b6227d5e43a1136adfbb2c5498244e0 Mon Sep 17 00:00:00 2001 From: Paul Wieland
Date: Thu, 1 Aug 2024 12:33:01 -0400
Subject: [PATCH] auto name
---
components/ratgdo/number/ratgdo_number.cpp | 2 +-
components/ratgdo/ratgdo.cpp | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/components/ratgdo/number/ratgdo_number.cpp b/components/ratgdo/number/ratgdo_number.cpp
index 31fb63d..2528ef8 100644
--- a/components/ratgdo/number/ratgdo_number.cpp
+++ b/components/ratgdo/number/ratgdo_number.cpp
@@ -61,7 +61,7 @@ namespace ratgdo {
});
// A second subscription, which seem to overwrite the first subscription
- this->parent_->subscribe_rolling_code_counter([=](uint32_t value, const std::string &name = "rolling_code_counter2") {
+ this->parent_->subscribe_rolling_code_counter([=](uint32_t value) {
ESP_LOGD("XXX","A second rolling code counter subscription");
});
diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp
index 7c2c25e..6e27779 100644
--- a/components/ratgdo/ratgdo.cpp
+++ b/components/ratgdo/ratgdo.cpp
@@ -597,8 +597,11 @@ namespace ratgdo {
this->protocol_->call(InactivateLearn {});
}
- void RATGDOComponent::subscribe_rolling_code_counter(std::function