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

Tries enabling switch_pwr during injection for polarity 0 on pwr_batt and pwr_dps5005_fixed

Showing with 2 additions and 2 deletions
+2 -2
...@@ -129,11 +129,11 @@ class Tx(Tx_mb_2023): ...@@ -129,11 +129,11 @@ class Tx(Tx_mb_2023):
self.exec_logger.debug(f'Switching DPS off') self.exec_logger.debug(f'Switching DPS off')
self._pwr_state = 'off' self._pwr_state = 'off'
@property @Tx_mb_2023.property
def polarity(self): def polarity(self):
return self._polarity return self._polarity
@polarity.setter @Tx_mb_2023.polarity.setter
def polarity(self, polarity): def polarity(self, polarity):
assert polarity in [-1, 0, 1] assert polarity in [-1, 0, 1]
self._polarity = polarity self._polarity = polarity
......
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