mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-06 05:24:02 -06:00
heater: Add stats reporting
Report the current temperature, current pwm setting, and target temperature as statistics in the log. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
650d55d7b2
commit
6eefbe5e30
2 changed files with 10 additions and 1 deletions
|
@ -53,6 +53,8 @@ class PrinterExtruder:
|
|||
if is_active:
|
||||
return self.activate_gcode
|
||||
return self.deactivate_gcode
|
||||
def stats(self, eventtime):
|
||||
return self.heater.stats(eventtime)
|
||||
def motor_off(self, print_time):
|
||||
self.stepper.motor_enable(print_time, 0)
|
||||
self.need_motor_enable = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue