1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-12-23 12:51:24 +01:00

Remove inrush throttle after half good time so that we go to mode overload if problem persists

This commit is contained in:
Harald Barth 2024-05-23 22:41:50 +02:00
parent b17dc5a0dd
commit 843fa42692

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;
}