From 4c14063404a59f3e0ae466ff68aa0692ac1557d3 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 17 Sep 2020 02:00:50 -0400 Subject: [PATCH] heaters: Disable unused pwm output debugging info Signed-off-by: Kevin O'Connor --- klippy/extras/heaters.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/klippy/extras/heaters.py b/klippy/extras/heaters.py index e66168c5..9e2e148a 100644 --- a/klippy/extras/heaters.py +++ b/klippy/extras/heaters.py @@ -74,10 +74,10 @@ class Heater: pwm_time = read_time + self.pwm_delay self.next_pwm_time = pwm_time + 0.75 * MAX_HEAT_TIME self.last_pwm_value = value - logging.debug("%s: pwm=%.3f@%.3f (from %.3f@%.3f [%.3f])", - self.name, value, pwm_time, - self.last_temp, self.last_temp_time, self.target_temp) self.mcu_pwm.set_pwm(pwm_time, value) + #logging.debug("%s: pwm=%.3f@%.3f (from %.3f@%.3f [%.3f])", + # self.name, value, pwm_time, + # self.last_temp, self.last_temp_time, self.target_temp) def temperature_callback(self, read_time, temp): with self.lock: time_diff = read_time - self.last_temp_time