Skip to content

Commit

Permalink
Fault pin handling for weak fault MotorDriver.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-4 authored May 14, 2024
1 parent 2172d2e commit 0d5dce5
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 0d5dce5

Please sign in to comment.