Restore right beaviour for updatePID

parent 9008eeb4
......@@ -497,7 +497,7 @@ void autotempShutdown() {
PID_PARAM(Kp, temp_controller) = workKp;
PID_PARAM(Ki, temp_controller) = scalePID_i(workKi);
PID_PARAM(Kd, temp_controller) = scalePID_d(workKd);
//updatePID();
updatePID();
}
}
#endif
......@@ -510,7 +510,7 @@ void autotempShutdown() {
bedKp = workKp;
bedKi = scalePID_i(workKi);
bedKd = scalePID_d(workKd);
//updatePID();
updatePID();
}
}
#endif
......@@ -523,7 +523,7 @@ void autotempShutdown() {
coolerKp = workKp;
coolerKi = scalePID_i(workKi);
coolerKd = scalePID_d(workKd);
//updatePID();
updatePID();
}
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment