Use MAX_BED_POWER instead of BANG_MAX to heat outside PID_FUNCTIONAL_RANGE (#15431)

2.0.x
LinFor 5 years ago committed by Scott Lahteine
parent 087fe0e9d6
commit 98f614ddb1

@ -943,7 +943,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {
pid_reset = true;
}
else if (pid_error > PID_FUNCTIONAL_RANGE) {
pid_output = BANG_MAX;
pid_output = MAX_BED_POWER;
pid_reset = true;
}
else {

Loading…
Cancel
Save