adjust
This commit is contained in:
parent
dcc30bac72
commit
2b58eec35b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue