controller_fan: Declare instance-attribute in __init__

Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
This commit is contained in:
Master92 2019-09-16 13:13:45 +02:00 committed by KevinOConnor
parent 4f889ecd93
commit 6250157397
1 changed files with 1 additions and 0 deletions

View File

@ -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(