tmc: Initialize self.coolthrs in TMCVirtualPinHelper constructor
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
a9feeaa9eb
commit
c54d83c9f1
|
@ -437,7 +437,7 @@ class TMCVirtualPinHelper:
|
||||||
self.diag_pin_field = None
|
self.diag_pin_field = None
|
||||||
self.mcu_endstop = None
|
self.mcu_endstop = None
|
||||||
self.en_pwm = False
|
self.en_pwm = False
|
||||||
self.pwmthrs = 0
|
self.pwmthrs = self.coolthrs = 0
|
||||||
# Register virtual_endstop pin
|
# Register virtual_endstop pin
|
||||||
name_parts = config.get_name().split()
|
name_parts = config.get_name().split()
|
||||||
ppins = self.printer.lookup_object("pins")
|
ppins = self.printer.lookup_object("pins")
|
||||||
|
|
Loading…
Reference in New Issue