aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/pid_calibrate.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/pid_calibrate.py')
-rw-r--r--klippy/extras/pid_calibrate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/pid_calibrate.py b/klippy/extras/pid_calibrate.py
index 05ec6e99..b087f2b3 100644
--- a/klippy/extras/pid_calibrate.py
+++ b/klippy/extras/pid_calibrate.py
@@ -86,7 +86,7 @@ class ControlAutoTune:
if temp > self.peak:
self.peak = temp
self.peak_time = read_time
- def check_busy(self, eventtime, last_temp, target_temp):
+ def check_busy(self, eventtime, smoothed_temp, target_temp):
if self.heating or len(self.peaks) < 12:
return True
return False