Commit 9260fa3e authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Rewrites TX voltage handling

Showing with 1 addition and 1 deletion
+1 -1
......@@ -211,7 +211,7 @@ class Tx(TxAbstract):
def voltage(self, value):
assert isinstance(value, float)
value = np.max([TX_CONFIG['voltage_min'], np.min([value, TX_CONFIG['voltage_max']])])
super().voltage.fset(value)
super().voltage.fset(self, value)
class Rx(RxAbstract):
def __init__(self, **kwargs):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment