From 0e2d1a190e2f26197a4ebc3f5eaaa87c5b8d71ab Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 16 Dec 2019 19:21:37 -0500 Subject: gcode: Rename bg_temp() to wait_for_temperature() Signed-off-by: Kevin O'Connor --- klippy/gcode.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'klippy/gcode.py') diff --git a/klippy/gcode.py b/klippy/gcode.py index 2406a67c..324208aa 100644 --- a/klippy/gcode.py +++ b/klippy/gcode.py @@ -390,7 +390,8 @@ class GCodeParser: if not out: return "T:0" return " ".join(out) - def bg_temp(self, heater): + def wait_for_temperature(self, heater): + # Helper to wait on heater.check_busy() and report M105 temperatures if self.is_fileinput: return eventtime = self.reactor.monotonic() @@ -420,7 +421,7 @@ class GCodeParser: print_time = self.toolhead.get_last_move_time() heater.set_temp(print_time, temp) if wait and temp: - self.bg_temp(heater) + self.wait_for_temperature(heater) # G-Code special command handlers def cmd_default(self, params): if not self.is_printer_ready: -- cgit v1.2.3-70-g09d2