This commit is contained in:
J. Nick Koston 2023-06-07 13:49:13 -05:00
parent fb4bcf5ac1
commit 53b838249a
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#include "ratgdo_light_output.h"
#include "../ratgdo_state.h"
#include "esphome/core/log.h"
#include "ratgdo_light_output.h"
namespace esphome {
namespace ratgdo {

View File

@ -134,7 +134,7 @@ 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); //
delay(60); //
sync(); // reboot/sync to the opener on startup
}