Cleanup around updatePID
This commit is contained in:
1 parent
75a58ee4b8
commit
1ed86adf9c
3 files changed
+19
-16
No files matched your search
@@ -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