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

This commit is contained in:
LinFor 2019-10-01 06:19:12 +03:00 committed by Scott Lahteine
parent 087fe0e9d6
commit 98f614ddb1

View File

@ -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 {