From 6468afe0ad4768247b286297e87f059c1a30430b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 5 Jun 2023 16:31:03 -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 a11632a..949c164 100644 --- a/components/ratgdo/ratgdo.cpp +++ b/components/ratgdo/ratgdo.cpp @@ -130,7 +130,7 @@ namespace ratgdo { void IRAM_ATTR HOT RATGDOStore::isrObstruction(RATGDOStore *arg) { - if (this->input_obst.digital_read()) { + if (arg->input_obst.digital_read()) { arg->lastObstructionHigh = millis(); } else { arg->obstructionLowCount++;