summaryrefslogtreecommitdiff
path: root/gr-uhd/examples/python/fm_tx4.py
diff options
context:
space:
mode:
authorMarcus Müller <marcus.mueller@ettus.com>2015-08-09 21:50:58 +0200
committerJohnathan Corgan <johnathan@corganlabs.com>2016-03-28 14:33:37 -0700
commit9d559c1811f3e8272b978050a6c642e19325d137 (patch)
tree130abd7ed824b79496c606df5001194cbfbf2a21 /gr-uhd/examples/python/fm_tx4.py
parent7d2c8b16c3764207e9de1190bbfd7e051b8257e4 (diff)
Backport UHD start/stop segfault fix
Check RX/TX streamers::sptr before flush/reset Current code triggers a segfault when user uses the stream arg setter before starting the flowgraph. Another surprising use case that segfaults is tb->start(); usrp_source->stop(); which is a clever way to allow streaming to start when the user calls usrp_source->issue_stream_cmd(...) rather than as soon as GNU Radio runs without using set_start_time (e.g. when the start time is unknown at FG initialization).
Diffstat (limited to 'gr-uhd/examples/python/fm_tx4.py')
0 files changed, 0 insertions, 0 deletions