only:bench test fuel pump pin #5603
This commit is contained in:
parent
f34e680af1
commit
920e57e67c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue