mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-02-18 15:06:03 +01:00
Fault pin handling for weak fault MotorDriver.cpp
This commit is contained in:
parent
2172d2e175
commit
0d5dce5f63
@ -638,6 +638,10 @@ void MotorDriver::checkPowerOverload(bool useProgLimit, byte trackno) {
|
|||||||
}
|
}
|
||||||
throttleInrush(false);
|
throttleInrush(false);
|
||||||
setPower(POWERMODE::ON);
|
setPower(POWERMODE::ON);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (goodtime > POWER_SAMPLE_ALERT_GOOD/2) {
|
||||||
|
throttleInrush(false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user