only:bench test fuel pump pin #5603

This commit is contained in:
rusefillc 2023-10-11 00:07:36 -04:00
parent f34e680af1
commit 920e57e67c
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ void OutputPin::setValue(const char *msg, int logicValue, bool isForce) {
if (currentLogicValue != logicValue) {
if (pinToggleCounter > 0) {
durationsInStateMs[0] = durationsInStateMs[1];
durationsInStateMs[1] = pinToggleTimer.e.getElapsedUs() / 1000;
durationsInStateMs[1] = pinToggleTimer.getElapsedUs() / 1000;
}
pinToggleCounter++;
pinToggleTimer.reset();