This commit is contained in:
J. Nick Koston 2023-06-05 16:31:03 -05:00
parent 21bdf68cad
commit 6468afe0ad
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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++;