Cleanup around updatePID

This commit is contained in:
Scott Lahteine 2017-11-10 00:43:01 -06:00
parent 7aadfe32e7
commit b0ff3a4c6d
3 changed files with 19 additions and 16 deletions

View file

@ -9428,8 +9428,6 @@ inline void gcode_M226() {
if (parser.seen('I')) thermalManager.bedKi = scalePID_i(parser.value_float());
if (parser.seen('D')) thermalManager.bedKd = scalePID_d(parser.value_float());
thermalManager.updatePID();
SERIAL_ECHO_START();
SERIAL_ECHOPAIR(" p:", thermalManager.bedKp);
SERIAL_ECHOPAIR(" i:", unscalePID_i(thermalManager.bedKi));