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]); } }