Commit a0727f3f authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Fixes bug with ohmpi_card_3_15 __init__

Showing with 0 additions and 6 deletions
+0 -6
...@@ -98,9 +98,6 @@ class Tx(TxAbstract): ...@@ -98,9 +98,6 @@ class Tx(TxAbstract):
self.adc_gain = 2 / 3 self.adc_gain = 2 / 3
# DPH 5005 Digital Power Supply
self.turn_on()
time.sleep(TX_CONFIG['dps_switch_on_warm_up'])
self.pwr = None self.pwr = None
# I2C connexion to MCP23008, for current injection # I2C connexion to MCP23008, for current injection
...@@ -108,9 +105,6 @@ class Tx(TxAbstract): ...@@ -108,9 +105,6 @@ class Tx(TxAbstract):
self.pin4.direction = Direction.OUTPUT self.pin4.direction = Direction.OUTPUT
self.pin4.value = True self.pin4.value = True
self.exec_logger.info(f'TX battery: {self.tx_bat:.1f} V')
self.turn_off()
@property @property
def adc_gain(self): def adc_gain(self):
return self._adc_gain return self._adc_gain
......
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