Skip to content

Commit

Permalink
Remove inrush throttle after half good time so that we go to mode ove…
Browse files Browse the repository at this point in the history
…rload if problem persists
  • Loading branch information
habazut committed May 23, 2024
1 parent b17dc5a commit 843fa42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions MotorDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 843fa42

Please sign in to comment.