Commit 230bdb89 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Updates gain on mb2023

Showing with 2 additions and 2 deletions
+2 -2
...@@ -192,7 +192,7 @@ class Tx(TxAbstract): ...@@ -192,7 +192,7 @@ class Tx(TxAbstract):
assert self.adc_voltage_min / (50 * self.r_shunt) <= value <= self.adc_voltage_max / (50 * self.r_shunt) assert self.adc_voltage_min / (50 * self.r_shunt) <= value <= self.adc_voltage_max / (50 * self.r_shunt)
self.exec_logger.warning(f'Current pulse is not implemented for the {self.board_name} board') self.exec_logger.warning(f'Current pulse is not implemented for the {self.board_name} board')
def gain_auto_one_pulse(self): def gain_auto(self):
self._adc_gain_auto() self._adc_gain_auto()
def inject(self, polarity=1, injection_duration=None): def inject(self, polarity=1, injection_duration=None):
...@@ -301,7 +301,7 @@ class Rx(RxAbstract): ...@@ -301,7 +301,7 @@ class Rx(RxAbstract):
self.gain = gain self.gain = gain
self.exec_logger.event(f'{self.board_name}\trx_adc_auto_gain\tend\t{datetime.datetime.utcnow()}') self.exec_logger.event(f'{self.board_name}\trx_adc_auto_gain\tend\t{datetime.datetime.utcnow()}')
def gain_auto_one_pulse(self): def gain_auto(self):
self._adc_gain_auto() self._adc_gain_auto()
@property @property
def voltage(self): def voltage(self):
......
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