From 44f317b983bef16400393bf6f240a77ce9f484d9 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 13:48:12 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 19b6355..8950dbb 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -480,7 +480,7 @@ void RATGDOComponent::toggleLight() { } -void RATGDOComponent::getRollingCode(const char *command, int rollingCodeCounter){ +void RATGDOComponent::getRollingCode(const char *command){ uint64_t id = 0x539; uint64_t fixed = 0; @@ -520,7 +520,7 @@ void RATGDOComponent::getRollingCode(const char *command, int rollingCodeCounter fixed = fixed | id; - encode_wireline(rollingCodeCounter, fixed, data, rollingCode); + encode_wireline(this->rollingCodeCounter, fixed, data, this->rollingCode); printRollingCode();