Cleanup around updatePID

This commit is contained in:
Scott Lahteine
2017-11-10 00:48:00 -06:00
parent 75a58ee4b8
commit 1ed86adf9c
3 changed files with 19 additions and 16 deletions

View File

@ -32,8 +32,6 @@ void GcodeSuite::M304() {
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));