Commit 1938bc18 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Updates compute_tx

Showing with 3 additions and 3 deletions
+3 -3
......@@ -449,9 +449,9 @@ class OhmPiHardware:
if self.tx.pwr.voltage_adjustable:
self.tx.voltage = vab_list[k]
vab_opt = vab_list[k]
print(f'Selected Vab: {vab_opt:.2f}')
if switch_pwr_off:
self.tx.pwr.pwr_state = 'off'
# print(f'Selected Vab: {vab_opt:.2f}')
# if switch_pwr_off:
# self.tx.pwr.pwr_state = 'off'
else:
vab_opt = tx_volt
# if strategy == 'vmax':
......
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