From 0a5b07f9dafb19fca4305aa141dbae9e7571977b Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 5 Feb 2018 13:52:05 -0500 Subject: klippy: Allow any stats producer to determine when stats are needed Instead of using the toolhead class to determine if stats should be reported, allow every printer object with a stats() callback to determine if stats are needed. Signed-off-by: Kevin O'Connor --- klippy/heater.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'klippy/heater.py') diff --git a/klippy/heater.py b/klippy/heater.py index 632ae88e..a3ca1913 100644 --- a/klippy/heater.py +++ b/klippy/heater.py @@ -194,7 +194,7 @@ class PrinterHeater: target_temp = self.target_temp last_temp = self.last_temp last_pwm_value = self.last_pwm_value - return '%s: target=%.0f temp=%.0f pwm=%.3f' % ( + return False, '%s: target=%.0f temp=%.0f pwm=%.3f' % ( self.name, target_temp, last_temp, last_pwm_value) -- cgit v1.2.3-70-g09d2