This commit is contained in:
J. Nick Koston 2023-06-07 13:58:15 -05:00
parent 05c182d21f
commit 0d0ab4c386
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ namespace ratgdo {
printRollingCode();
if (command != Commands::DOOR1) { // door2 is created with same counter and should always be called after door1
ESP_LOGD(TAG, "Incrementing rolling code counter");
this->rollingCodeCounter = (this->rollingCodeCounter + 1) & 0xfffffff;
}
return;