1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-26 17:46:14 +01:00

Fault pin handling for weak fault MotorDriver.cpp

This commit is contained in:
Ash-4 2024-05-14 14:44:13 -05:00 committed by GitHub
parent 2172d2e175
commit 0d5dce5f63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -638,6 +638,10 @@ void MotorDriver::checkPowerOverload(bool useProgLimit, byte trackno) {
}
throttleInrush(false);
setPower(POWERMODE::ON);
break;
}
if (goodtime > POWER_SAMPLE_ALERT_GOOD/2) {
throttleInrush(false);
}
break;
}