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

View File

@ -128,12 +128,12 @@ namespace ratgdo {
}
}
void IRAM_ATTR HOT RATGDOStore::isrObstruction()
void IRAM_ATTR HOT RATGDOStore::isrObstruction(RATGDOStore *arg)
{
if (this->input_obst.digital_read()) {
arg->lastObstructionHigh = millis();
} else {
this->obstructionLowCount++;
arg->obstructionLowCount++;
}
}