This commit is contained in:
J. Nick Koston 2023-06-05 18:26:58 -05:00
parent 8673f26fba
commit c25bcefb3c
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

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