|
|
@ -500,7 +500,7 @@ volatile bool Temperature::temp_meas_ready = false;
|
|
|
|
|
|
|
|
|
|
|
|
// Did the temperature overshoot very far?
|
|
|
|
// Did the temperature overshoot very far?
|
|
|
|
#ifndef MAX_OVERSHOOT_PID_AUTOTUNE
|
|
|
|
#ifndef MAX_OVERSHOOT_PID_AUTOTUNE
|
|
|
|
#define MAX_OVERSHOOT_PID_AUTOTUNE 20
|
|
|
|
#define MAX_OVERSHOOT_PID_AUTOTUNE 30
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
if (current_temp > target + MAX_OVERSHOOT_PID_AUTOTUNE) {
|
|
|
|
if (current_temp > target + MAX_OVERSHOOT_PID_AUTOTUNE) {
|
|
|
|
SERIAL_ECHOLNPGM(MSG_PID_TEMP_TOO_HIGH);
|
|
|
|
SERIAL_ECHOLNPGM(MSG_PID_TEMP_TOO_HIGH);
|
|
|
|