This commit is contained in:
J. Nick Koston 2023-06-07 14:17:03 -05:00
parent dcc30bac72
commit 2b58eec35b
No known key found for this signature in database
1 changed files with 0 additions and 3 deletions

View File

@ -134,8 +134,6 @@ namespace ratgdo {
this->input_obst_pin_->attach_interrupt(RATGDOStore::isrObstruction, &this->store_, gpio::INTERRUPT_ANY_EDGE); this->input_obst_pin_->attach_interrupt(RATGDOStore::isrObstruction, &this->store_, gpio::INTERRUPT_ANY_EDGE);
ESP_LOGD(TAG, "Syncing rolling code counter after reboot..."); ESP_LOGD(TAG, "Syncing rolling code counter after reboot...");
delay(60); //
sync(); // reboot/sync to the opener on startup 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(" Trigger Light Pin: ", this->trigger_light_pin_);
LOG_PIN(" Status Door Pin: ", this->status_door_pin_); LOG_PIN(" Status Door Pin: ", this->status_door_pin_);
LOG_PIN(" Status Obstruction Pin: ", this->status_obst_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) void RATGDOComponent::readRollingCode(uint8_t& door, uint8_t& light, uint8_t& lock, uint8_t& motion, uint8_t& obstruction)