mirror of
https://github.com/ratgdo/esphome-ratgdo.git
synced 2025-02-09 01:04:30 +00:00
light
This commit is contained in:
parent
05c182d21f
commit
0d0ab4c386
@ -257,6 +257,7 @@ namespace ratgdo {
|
|||||||
printRollingCode();
|
printRollingCode();
|
||||||
|
|
||||||
if (command != Commands::DOOR1) { // door2 is created with same counter and should always be called after door1
|
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;
|
this->rollingCodeCounter = (this->rollingCodeCounter + 1) & 0xfffffff;
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user