From c25bcefb3c9536447278d66a24065ac658d49d62 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 18:26:58 -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 d8aad95..cbaa929 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -249,9 +249,9 @@ namespace ratgdo { void RATGDOComponent::printRollingCode() { for (int i = 0; i < CODE_LENGTH; i++) { - if (this->rollingCode[i] <= 0x0f) + if (this->txRollingCode[i] <= 0x0f) ESP_LOGD(TAG, "0"); - ESP_LOGD(TAG, "%x", this->rollingCode[i]); + ESP_LOGD(TAG, "%x", this->txRollingCode[i]); } }