diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 8a334b8..e03e8b3 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -134,8 +134,6 @@ 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 } @@ -158,7 +156,6 @@ namespace ratgdo { LOG_PIN(" Trigger Light Pin: ", this->trigger_light_pin_); LOG_PIN(" Status Door Pin: ", this->status_door_pin_); LOG_PIN(" Status Obstruction Pin: ", this->status_obst_pin_); - sync(); } void RATGDOComponent::readRollingCode(uint8_t& door, uint8_t& light, uint8_t& lock, uint8_t& motion, uint8_t& obstruction)