Commit 5501cc23 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

adds pwr.pwr_state = off before switching tx pwr

Showing with 1 addition and 0 deletions
+1 -0
...@@ -151,6 +151,7 @@ class Tx(Tx_mb_2023): ...@@ -151,6 +151,7 @@ class Tx(Tx_mb_2023):
elif state == 'off': elif state == 'off':
self.exec_logger.event(f'{self.model}\ttx_pwr_state_off\tbegin\t{datetime.datetime.utcnow()}') self.exec_logger.event(f'{self.model}\ttx_pwr_state_off\tbegin\t{datetime.datetime.utcnow()}')
self.pwr.pwr_state = 'off'
self.pin2.value = False self.pin2.value = False
self.pin3.value = False self.pin3.value = False
self.exec_logger.debug(f'Switching DPS off') self.exec_logger.debug(f'Switching DPS off')
......
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