mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-20 05:07:48 -06:00
fixed bug with adjusting ki in realtime.
This commit is contained in:
parent
9980ceb4a3
commit
c57906b627
4 changed files with 34 additions and 22 deletions
|
@ -111,6 +111,13 @@ static unsigned long previous_millis_heater, previous_millis_bed_heater;
|
|||
//=============================functions ============================
|
||||
//===========================================================================
|
||||
|
||||
void updatePID()
|
||||
{
|
||||
#ifdef PIDTEMP
|
||||
temp_iState_max = PID_INTEGRAL_DRIVE_MAX / Ki;
|
||||
#endif
|
||||
}
|
||||
|
||||
void manage_heater()
|
||||
{
|
||||
#ifdef USE_WATCHDOG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue