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

Updates pwr_dps

Showing with 1 addition and 0 deletions
+1 -0
...@@ -89,6 +89,7 @@ class Pwr(PwrAbstract): ...@@ -89,6 +89,7 @@ class Pwr(PwrAbstract):
""" """
if state == 'on': if state == 'on':
self.connection.write_register(0x09, 1) self.connection.write_register(0x09, 1)
self.current_max(self._current_max)
self._pwr_state = 'on' self._pwr_state = 'on'
self.exec_logger.debug(f'{self.model} is on') self.exec_logger.debug(f'{self.model} is on')
time.sleep(self._pwr_latency) # from pwr specs time.sleep(self._pwr_latency) # from pwr specs
......
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