Commit b3d38d23 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Adds pwr_state on tx to switch dps on and off

Showing with 1 addition and 2 deletions
+1 -2
...@@ -375,8 +375,8 @@ class TxAbstract(ABC): ...@@ -375,8 +375,8 @@ class TxAbstract(ABC):
self.pwr.voltage = voltage self.pwr.voltage = voltage
self.exec_logger.debug(f'Voltage pulse of {polarity * self.pwr.voltage:.3f} V for {length:.3f} s') self.exec_logger.debug(f'Voltage pulse of {polarity * self.pwr.voltage:.3f} V for {length:.3f} s')
self.inject(polarity=polarity, injection_duration=length) self.inject(polarity=polarity, injection_duration=length)
@property @property
@abstractmethod
def pwr_state(self): def pwr_state(self):
return self._pwr_state return self._pwr_state
......
...@@ -100,7 +100,6 @@ class Tx(Tx_mb_2023): ...@@ -100,7 +100,6 @@ class Tx(Tx_mb_2023):
self.pin6.value = False self.pin6.value = False
@property @property
def pwr_state(self): def pwr_state(self):
return self._pwr_state return self._pwr_state
......
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