From 2b58eec35b713eaf374dd9a48933b77e44a52a01 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 7 Jun 2023 14:17:03 -0500 Subject: [PATCH] adjust --- components/ratgdo/ratgdo.cpp | 3 --- 1 file changed, 3 deletions(-) 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)