This commit is contained in:
J. Nick Koston 2023-06-07 13:46:12 -05:00
parent a2c7b52da2
commit dc6f3f503e
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -134,6 +134,8 @@ namespace ratgdo {
this->input_obst_pin_->attach_interrupt(RATGDOStore::isrObstruction, &this->store_, gpio::INTERRUPT_ANY_EDGE);
ESP_LOGD(TAG, "Syncing rolling code counter after reboot...");
delay(60); //
sync(); // reboot/sync to the opener on startup
}