Commit c93c2a39 authored by Robert Schmidt's avatar Robert Schmidt

In trx_usrp_end(): tell USRP to stop

parent ed0c12ba
...@@ -320,7 +320,11 @@ static void trx_usrp_end(openair0_device *device) { ...@@ -320,7 +320,11 @@ static void trx_usrp_end(openair0_device *device) {
return; return;
iqrecorder_end(device); iqrecorder_end(device);
uhd::stream_cmd_t cmd(uhd::stream_cmd_t::STREAM_MODE_STOP_CONTINUOUS);
s->rx_stream->issue_stream_cmd(cmd);
free(s);
device->priv = NULL;
} }
/*! \brief Called to send samples to the USRP RF target /*! \brief Called to send samples to the USRP RF target
......
Markdown is supported
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