Commit 9e23a861 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Fixes polarity issue

Showing with 1 addition and 1 deletion
+1 -1
......@@ -196,7 +196,7 @@ class OhmPiHardware:
# v = self.readings[:, 2] != 0
# current = max(current, np.mean(self.readings[v, 3]))
# voltage = max(voltage, np.abs(np.mean(self.readings[v, 2] * self.readings[v, 4])))
self.tx.polarity = 0
self.tx.gain = min(tx_gains)
self.rx.gain = min(rx_gains)
# self.rx.gain_auto(voltage)
......
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