Merge branch 'Development' of https://github.com/MarlinFirmware/Marlin into _temp_error

This commit is contained in:
AnHardt
2015-05-20 23:34:39 +02:00
38 changed files with 263 additions and 84 deletions

View File

@ -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);
return;
}