From 843fa42692b50570a28dc4eb06c4781379071750 Mon Sep 17 00:00:00 2001 From: Harald Barth Date: Thu, 23 May 2024 22:41:50 +0200 Subject: [PATCH] Remove inrush throttle after half good time so that we go to mode overload if problem persists --- MotorDriver.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/MotorDriver.cpp b/MotorDriver.cpp index da9d3ee..28fbfa3 100644 --- a/MotorDriver.cpp +++ b/MotorDriver.cpp @@ -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; }