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

Fixing rs_check

Showing with 2 additions and 0 deletions
+2 -0
......@@ -824,9 +824,11 @@ class OhmPi(object):
self._hw._vab_pulse(duration=0.2, vab=tx_volt)
current = self._hw.readings[-1, 3]
if self._hw.tx.pwr.voltage_adjustable:
print('tx',self._hw.tx.voltage)
if self._hw.tx.voltage != tx_volt:
self._hw.tx.voltage = tx_volt
vab = self._hw.tx.pwr.voltage
print(vab)
time.sleep(0.2)
# self.switch_mux_on(quad, bypass_check=True) # put before raising the pins (otherwise conflict i2c)
......
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