Commit 84fe62db authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Minor cleaning

Showing with 1 addition and 2 deletions
+1 -2
...@@ -444,7 +444,6 @@ class OhmPiHardware: ...@@ -444,7 +444,6 @@ class OhmPiHardware:
sampling_rate = RX_CONFIG['sampling_rate'] sampling_rate = RX_CONFIG['sampling_rate']
if self.tx.pwr.voltage_adjustable: if self.tx.pwr.voltage_adjustable:
if self.tx.pwr.voltage != vab: if self.tx.pwr.voltage != vab:
print('re-setting_voltage',self.tx.pwr.voltage,vab)
self.tx.pwr.voltage = vab self.tx.pwr.voltage = vab
else: else:
vab = self.tx.pwr.voltage vab = self.tx.pwr.voltage
...@@ -540,7 +539,7 @@ class OhmPiHardware: ...@@ -540,7 +539,7 @@ class OhmPiHardware:
self.exec_logger.event(f'OhmPiHardware\tswitch_mux\tend\t{datetime.datetime.utcnow()}') self.exec_logger.event(f'OhmPiHardware\tswitch_mux\tend\t{datetime.datetime.utcnow()}')
return status return status
def test_mux(self, channel=None, activation_time=1.0): #TODO: is this needed at OhmpiHardware level? def test_mux(self, channel=None, activation_time=1.0): #TODO: add test in reverse order on each mux board
"""Interactive method to test the multiplexer. """Interactive method to test the multiplexer.
Parameters Parameters
......
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