From aa1d258af391252c34ae6d305827696d237b2b16 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 16:31:45 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 949c164..37d45ff 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -175,7 +175,7 @@ namespace ratgdo { this->input_obst_pin_->pin_mode(gpio::FLAG_INPUT); - this->trigger_open_pin_->attach_interrupt(RATGDOStore::isrDoorOpen, &this->_store, gpio::INTERRUPT_ANY_EDGE); + this->trigger_open_pin_->attach_interrupt(RATGDOStore::isrDoorOpen, &this->_store_, gpio::INTERRUPT_ANY_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);