This commit is contained in:
J. Nick Koston 2023-06-09 18:37:43 -05:00
parent 181e37fbdc
commit d02c49da00
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ namespace ratgdo {
static const uint64_t REMOTE_ID = 0x539;
static const uint16_t STATUS_CMD = 0x81;
void IRAM_ATTR RATGDOStore::isrObstruction(RATGDOStore* arg)
void IRAM_ATTR HOT RATGDOStore::isrObstruction(RATGDOStore* arg)
{
if (arg->input_obst.digital_read()) {
arg->lastObstructionHigh = millis();

View File

@ -73,7 +73,7 @@ namespace ratgdo {
int obstructionLowCount = 0; // count obstruction low pulses
long lastObstructionHigh = 0; // count time between high pulses from the obst ISR
static void IRAM_ATTR isrObstruction(RATGDOStore* arg);
static void IRAM_ATTR HOT isrObstruction(RATGDOStore* arg);
};
class RATGDOComponent : public uart::UARTDevice, public Component {