diff options
author | zolveuran <peter.uran@zolve.no> | 2023-03-14 20:46:02 +0100 |
---|---|---|
committer | Aki Tomita <121511582+atomita-ni@users.noreply.github.com> | 2024-01-25 09:57:47 -0600 |
commit | f3815f3384f1530a22a5f1abc4aa44a39b267704 (patch) | |
tree | a27e7dfa1b1d9c5b1f74586faf3d3a60a18c9c00 | |
parent | ci: Use the new e320 in rhombus (diff) | |
download | uhd-f3815f3384f1530a22a5f1abc4aa44a39b267704.tar.xz uhd-f3815f3384f1530a22a5f1abc4aa44a39b267704.zip |
python: Fix setting start_time having no effect
In the Python MultiUSRP class, has_time_spec and stream_now were not
being properly set, basically making send_waveform() unable to use
timed streams.
-rw-r--r-- | host/python/uhd/usrp/multi_usrp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/python/uhd/usrp/multi_usrp.py b/host/python/uhd/usrp/multi_usrp.py index d3b7def01..52749fdb1 100644 --- a/host/python/uhd/usrp/multi_usrp.py +++ b/host/python/uhd/usrp/multi_usrp.py @@ -183,6 +183,7 @@ class MultiUSRP(lib.usrp.multi_usrp): metadata = lib.types.tx_metadata() if start_time is not None: metadata.time_spec = start_time + metadata.has_time_spec = True while send_samps < max_samps: real_samps = min(proto_len, max_samps-send_samps) if real_samps < proto_len: |