Restore right beaviour for updatePID

parent 9008eeb4
...@@ -497,7 +497,7 @@ void autotempShutdown() { ...@@ -497,7 +497,7 @@ void autotempShutdown() {
PID_PARAM(Kp, temp_controller) = workKp; PID_PARAM(Kp, temp_controller) = workKp;
PID_PARAM(Ki, temp_controller) = scalePID_i(workKi); PID_PARAM(Ki, temp_controller) = scalePID_i(workKi);
PID_PARAM(Kd, temp_controller) = scalePID_d(workKd); PID_PARAM(Kd, temp_controller) = scalePID_d(workKd);
//updatePID(); updatePID();
} }
} }
#endif #endif
...@@ -510,7 +510,7 @@ void autotempShutdown() { ...@@ -510,7 +510,7 @@ void autotempShutdown() {
bedKp = workKp; bedKp = workKp;
bedKi = scalePID_i(workKi); bedKi = scalePID_i(workKi);
bedKd = scalePID_d(workKd); bedKd = scalePID_d(workKd);
//updatePID(); updatePID();
} }
} }
#endif #endif
...@@ -523,7 +523,7 @@ void autotempShutdown() { ...@@ -523,7 +523,7 @@ void autotempShutdown() {
coolerKp = workKp; coolerKp = workKp;
coolerKi = scalePID_i(workKi); coolerKi = scalePID_i(workKi);
coolerKd = scalePID_d(workKd); coolerKd = scalePID_d(workKd);
//updatePID(); updatePID();
} }
} }
#endif #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