This commit is contained in:
J. Nick Koston 2023-06-05 16:28:48 -05:00
parent 6f74847479
commit 25d42f2087
No known key found for this signature in database
1 changed files with 5 additions and 5 deletions

View File

@ -176,11 +176,11 @@ namespace ratgdo {
this->trigger_open_pin_->attach_interrupt(RATGDOStore::isrDoorOpen, &this->_store, gpio::INTERRUPT_ANY_EDGE);
this->trigger_close_pin_->attach_interrupt(RATGDOStore::isrDoorClose, &this->_stor, gpio::INTERRUPT_ANY_EDGE);
this->trigger_light_pin_->attach_interrupt(RATGDOStore::isrLight, &this->_stor, gpio::INTERRUPT_ANY_EDGE);
this->input_obst_pin_->attach_interrupt(RATGDOStore::isrObstruction, &this->_stor, gpio::INTERRUPT_ANY_EDGE);
this->input_rpm1_pin_->attach_interrupt(RATGDOStore::isrRPM1, &this->_stor, gpio::INTERRUPT_RISING_EDGE);
this->input_rpm2_pin_->attach_interrupt(RATGDOStore::isrRPM2, &this->_stor, gpio::INTERRUPT_RISING_EDGE);
this->trigger_close_pin_->attach_interrupt(RATGDOStore::isrDoorClose, &this->store_, gpio::INTERRUPT_ANY_EDGE);
this->trigger_light_pin_->attach_interrupt(RATGDOStore::isrLight, &this->store_, gpio::INTERRUPT_ANY_EDGE);
this->input_obst_pin_->attach_interrupt(RATGDOStore::isrObstruction, &this->store_, gpio::INTERRUPT_ANY_EDGE);
this->input_rpm1_pin_->attach_interrupt(RATGDOStore::isrRPM1, &this->store_, gpio::INTERRUPT_RISING_EDGE);
this->input_rpm2_pin_->attach_interrupt(RATGDOStore::isrRPM2, &this->store_, gpio::INTERRUPT_RISING_EDGE);
if (this->useRollingCodes_) {
ESP_LOGD(TAG, "Syncing rolling code counter after reboot...");