Material & hotend updated callback is enabled for LegacyUM3 again

CL-541
This commit is contained in:
Jaime van Kessel 2017-12-21 13:16:44 +01:00
parent e576c1a9f7
commit 9754aa5397
4 changed files with 91 additions and 58 deletions

View file

@ -235,8 +235,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
# Check what kind of device we need to add; Depending on the firmware we either add a "Connect"/"Cluster"
# or "Legacy" UM3 device.
cluster_size = int(properties.get(b"cluster_size", -1))
# TODO: For debug purposes; force it to be legacy printer.
#device = LegacyUM3OutputDevice.LegacyUM3OutputDevice(name, address, properties)
if cluster_size > 0:
device = ClusterUM3OutputDevice.ClusterUM3OutputDevice(name, address, properties)
else: