Skip to content
Snippets Groups Projects
Commit 09e2dcfc authored by Niklas Borchers's avatar Niklas Borchers
Browse files

Merge branch 'DecadacFix' into 'master'

DecadacFit enabled channel 2&3

See merge request !4
parents fe84b81b 64244b68
No related branches found
No related tags found
1 merge request!4DecadacFit enabled channel 2&3
......@@ -22,8 +22,7 @@ class Driver(SerialDriver.SerialDriver):
#Safety measures for output settings
if "M<*>;" in quant.set_cmd:
self.log(str(quant.datatype))
if quant.datatype == "BOOLEAN":
if quant.datatype == 1:
value = 2 if value else 0
# Check if channels are all zero
slot = quant.name.split(" - ")[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment