Skip to content

Commit

Permalink
https://github.com/lubeda/EspHoMaTriXv2/issues/133
Browse files Browse the repository at this point in the history
  • Loading branch information
lubeda committed Nov 12, 2023
1 parent 5dbd370 commit 9d7e769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/ehmtxv2/EHMTX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ namespace esphome
}
}

if ((this->queue[i]->endtime > 0.0) && (this->queue[i]->last_time < last_time))
if ((this->queue[i]->endtime > this->get_tick()) && (this->queue[i]->last_time < last_time))
{
hit = i;
last_time = this->queue[i]->last_time;
Expand Down

0 comments on commit 9d7e769

Please sign in to comment.