From aa6fa43fc77df7f13ad8a77095bc538c949a6d67 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 13:46:15 -0500 Subject: [PATCH] fix --- components/ratgdo/ratgdo.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components/ratgdo/ratgdo.cpp b/components/ratgdo/ratgdo.cpp index 27018e4..b86e7c1 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -205,14 +205,14 @@ void IRAM_ATTR RATGDOComponent::isrDebounce(const char *type) { } } -void IRAM_ATTR isrDoorOpen() { isrDebounce("openDoor"); } +void IRAM_ATTR RATGDOComponent::isrDoorOpen() { isrDebounce("openDoor"); } -void IRAM_ATTR isrDoorClose() { isrDebounce("closeDoor"); } +void IRAM_ATTR RATGDOComponent::isrDoorClose() { isrDebounce("closeDoor"); } -void IRAM_ATTR isrLight() { isrDebounce("toggleLight"); } +void IRAM_ATTR RATGDOComponent::isrLight() { isrDebounce("toggleLight"); } // Fire on RISING edge of RPM1 -void IRAM_ATTR isrRPM1() { this->rpm1Pulsed = true; } +void IRAM_ATTR RATGDOComponent::isrRPM1() { this->rpm1Pulsed = true; } // Fire on RISING edge of RPM2 // When RPM1 HIGH on RPM2 rising edge, door closing: @@ -277,7 +277,7 @@ void RATGDOComponent::dryContactLoop() { } /*************************** OBSTRUCTION DETECTION ***************************/ -void IRAM_ATTR isrObstruction() { +void IRAM_ATTR RATGDOComponent::isrObstruction() { if (digitalRead(INPUT_OBST)) { this->lastObstructionHigh = millis(); } else {