Commit 14fefc31 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Reactivate reading rx.voltage to empty buffer

Showing with 1 addition and 1 deletion
+1 -1
...@@ -178,7 +178,7 @@ class OhmPiHardware: ...@@ -178,7 +178,7 @@ class OhmPiHardware:
sampling_rate = self.rx.sampling_rate sampling_rate = self.rx.sampling_rate
sample = 0 sample = 0
# self.exec_logger.info(f'values when starting pulse {self._pulse} : {self.tx.current} mA, {self.rx.voltage} mV') # self.exec_logger.info(f'values when starting pulse {self._pulse} : {self.tx.current} mA, {self.rx.voltage} mV')
# _ = self.rx.voltage _ = self.rx.voltage
lap = datetime.datetime.utcnow() # just in case tx_sync is not set immediately after passing wait lap = datetime.datetime.utcnow() # just in case tx_sync is not set immediately after passing wait
self.tx_sync.wait() # self.tx_sync.wait() #
if not append or self._start_time is None: if not append or self._start_time is None:
......
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