From: Bernhard Kubicek Date: Sat, 12 Nov 2011 23:48:55 +0000 (+0100) Subject: heater power repair. X-Git-Tag: iwj-success-2012-07-29~237 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=ff592b056ad492632a810e6c77a7d063b6ce05e3;p=marlin.git heater power repair. --- diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index 0772cb3..8ea8ee0 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -156,12 +156,13 @@ void manage_heater() pTerm+=Kc*current_block->speed_e; //additional heating if extrusion speed is high #endif pid_output = constrain(pTerm + iTerm - dTerm, 0, PID_MAX); - HeaterPower=pid_output; + } #endif //PID_OPENLOOP #ifdef PID_DEBUG //SERIAL_ECHOLN(" PIDDEBUG Input "<