Browse Source

Merge pull request #2111 from AnHardt/at

Name magic value 20 to MAX_OVERSHOOT_PID_AUTOTUNE
pull/1/head
Scott Lahteine 10 years ago
parent
commit
cad248fc55
  1. 3
      Marlin/temperature.cpp

3
Marlin/temperature.cpp

@ -312,7 +312,8 @@ void PID_autotune(float temp, int extruder, int ncycles)
} }
} }
} }
if (input > temp + 20) { #define MAX_OVERSHOOT_PID_AUTOTUNE 20
if (input > temp + MAX_OVERSHOOT_PID_AUTOTUNE) {
SERIAL_PROTOCOLLNPGM(MSG_PID_TEMP_TOO_HIGH); SERIAL_PROTOCOLLNPGM(MSG_PID_TEMP_TOO_HIGH);
return; return;
} }

Loading…
Cancel
Save