|
@@ -389,7 +389,7 @@ volatile bool Temperature::temp_meas_ready = false;
|
389
|
389
|
next_auto_fan_check_ms = next_temp_ms + 2500UL;
|
390
|
390
|
#endif
|
391
|
391
|
|
392
|
|
- if (target > GHV(BED_MAXTEMP, temp_range[heater].maxtemp) - 15) {
|
|
392
|
+ if (target > GHV(BED_MAXTEMP - 10, temp_range[heater].maxtemp - 15)) {
|
393
|
393
|
SERIAL_ECHOLNPGM(MSG_PID_TEMP_TOO_HIGH);
|
394
|
394
|
return;
|
395
|
395
|
}
|
|
@@ -857,7 +857,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {
|
857
|
857
|
#if HOTENDS == 1
|
858
|
858
|
constexpr bool this_hotend = true;
|
859
|
859
|
#else
|
860
|
|
- const bool this_hotend = (e == active_extruder);
|
|
860
|
+ const bool this_hotend = (ee == active_extruder);
|
861
|
861
|
#endif
|
862
|
862
|
work_pid[ee].Kc = 0;
|
863
|
863
|
if (this_hotend) {
|
|
@@ -886,7 +886,7 @@ void Temperature::min_temp_error(const heater_ind_t heater) {
|
886
|
886
|
#endif // PID_OPENLOOP
|
887
|
887
|
|
888
|
888
|
#if ENABLED(PID_DEBUG)
|
889
|
|
- if (e == active_extruder) {
|
|
889
|
+ if (ee == active_extruder) {
|
890
|
890
|
SERIAL_ECHO_START();
|
891
|
891
|
SERIAL_ECHOPAIR(
|
892
|
892
|
MSG_PID_DEBUG, ee,
|