From e0cedfb853c6495e352daff98b34b316d5a71d57 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 5 Feb 2018 13:55:59 -0500 Subject: [PATCH] heater: Report stats whenever the heater is active Signed-off-by: Kevin O'Connor --- klippy/heater.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/klippy/heater.py b/klippy/heater.py index a3ca1913..23ed42cb 100644 --- a/klippy/heater.py +++ b/klippy/heater.py @@ -194,7 +194,8 @@ class PrinterHeater: target_temp = self.target_temp last_temp = self.last_temp last_pwm_value = self.last_pwm_value - return False, '%s: target=%.0f temp=%.0f pwm=%.3f' % ( + is_active = target_temp or last_temp > 50. + return is_active, '%s: target=%.0f temp=%.1f pwm=%.3f' % ( self.name, target_temp, last_temp, last_pwm_value)