mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
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.
This commit is contained in:
parent
4883105c8c
commit
f3815f3384
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user