1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

Init Kp, Ki, Kd to 0

This commit is contained in:
Scott Lahteine 2015-10-13 04:00:03 -07:00 committed by Richard Wackerbarth
parent 644c376e84
commit dbd4c17096

View File

@ -209,7 +209,7 @@ void PID_autotune(float temp, int extruder, int ncycles) {
long bias, d;
float Ku, Tu;
float Kp, Ki, Kd;
float Kp = 0, Ki = 0, Kd = 0;
float max = 0, min = 10000;
#if HAS_AUTO_FAN