Cleanup around updatePID
This commit is contained in:
@ -430,12 +430,19 @@ class Temperature {
|
||||
*/
|
||||
#if HAS_PID_HEATING
|
||||
static void PID_autotune(const float temp, const int8_t hotend, const int8_t ncycles, const bool set_result=false);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Update the temp manager when PID values change
|
||||
*/
|
||||
static void updatePID();
|
||||
#if ENABLED(PIDTEMP)
|
||||
/**
|
||||
* Update the temp manager when PID values change
|
||||
*/
|
||||
FORCE_INLINE static void updatePID() {
|
||||
#if ENABLED(PID_EXTRUSION_SCALING)
|
||||
last_e_position = 0;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#if ENABLED(BABYSTEPPING)
|
||||
|
||||
|
Reference in New Issue
Block a user