controller_fan: Declare instance-attribute in __init__
Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
This commit is contained in:
parent
4f889ecd93
commit
6250157397
|
@ -12,6 +12,7 @@ class ControllerFan:
|
|||
self.printer = config.get_printer()
|
||||
self.printer.register_event_handler("klippy:ready", self.handle_ready)
|
||||
self.steppers = []
|
||||
self.heaters = []
|
||||
self.fan = fan.PrinterFan(config)
|
||||
self.mcu = self.fan.mcu_fan.get_mcu()
|
||||
self.max_power = config.getfloat(
|
||||
|
|
Loading…
Reference in New Issue