Commit 2b0a212b authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

Enables dps in hardware_system

Showing with 1 addition and 0 deletions
+1 -0
...@@ -428,6 +428,7 @@ class OhmPiHardware: ...@@ -428,6 +428,7 @@ class OhmPiHardware:
sampling_rate = RX_CONFIG['sampling_rate'] sampling_rate = RX_CONFIG['sampling_rate']
if self.tx.pwr.voltage_adjustable: if self.tx.pwr.voltage_adjustable:
if self.tx.pwr.voltage != vab: if self.tx.pwr.voltage != vab:
print('re-setting_voltage',self.tx.pwr.voltage,vab)
self.tx.pwr.voltage = vab self.tx.pwr.voltage = vab
else: else:
vab = self.tx.pwr.voltage vab = self.tx.pwr.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