mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-27 22:08:02 +00:00
Name magic value 20 to MAX_OVERSHOOT_PID_AUTOTUNE
to make it better findable.
This commit is contained in:
parent
7ff18f6657
commit
97ca1b3f4d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user