summaryrefslogtreecommitdiff
path: root/usrp2/host/lib/usrp2_impl.cc
diff options
context:
space:
mode:
authoreb2008-10-27 16:33:14 +0000
committereb2008-10-27 16:33:14 +0000
commitd4bcd458da9a26d8f272447af6e7d35f3c9101d4 (patch)
tree05d9e57e1a3283a2b40e5fdbdaa0626ae3f6edfe /usrp2/host/lib/usrp2_impl.cc
parent9ed5c507988c020972109ee97ccda827f3f0e998 (diff)
downloadgnuradio-d4bcd458da9a26d8f272447af6e7d35f3c9101d4.tar.gz
gnuradio-d4bcd458da9a26d8f272447af6e7d35f3c9101d4.tar.bz2
gnuradio-d4bcd458da9a26d8f272447af6e7d35f3c9101d4.zip
backed out 9874
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9877 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'usrp2/host/lib/usrp2_impl.cc')
-rw-r--r--usrp2/host/lib/usrp2_impl.cc16
1 files changed, 2 insertions, 14 deletions
diff --git a/usrp2/host/lib/usrp2_impl.cc b/usrp2/host/lib/usrp2_impl.cc
index 50e96006b..956f2561e 100644
--- a/usrp2/host/lib/usrp2_impl.cc
+++ b/usrp2/host/lib/usrp2_impl.cc
@@ -130,8 +130,7 @@ namespace usrp2 {
d_rx_seqno(-1), d_tx_seqno(0), d_next_rid(0),
d_num_rx_frames(0), d_num_rx_missing(0), d_num_rx_overruns(0), d_num_rx_bytes(0),
d_num_enqueued(0), d_enqueued_mutex(), d_bg_pending_cond(&d_enqueued_mutex),
- d_channel_rings(NCHANS), d_tx_interp(0), d_rx_decim(0),
- d_rx_str_p(false), d_rx_str_channel(0), d_rx_str_items_per_frame(0)
+ d_channel_rings(NCHANS), d_tx_interp(0), d_rx_decim(0)
{
if (!d_eth_buf->open(ifc, htons(U2_ETHERTYPE)))
throw std::runtime_error("Unable to register USRP2 protocol");
@@ -481,7 +480,6 @@ namespace usrp2 {
bool
usrp2::impl::set_rx_center_freq(double frequency, tune_result *result)
{
- //without_streaming s(this);
op_config_rx_v2_cmd cmd;
op_config_rx_reply_v2_t reply;
@@ -599,11 +597,6 @@ namespace usrp2 {
return false;
bool success = (ntohx(reply.ok) == 1);
- if (success){
- d_rx_str_p = true;
- d_rx_str_channel = channel;
- d_rx_str_items_per_frame = items_per_frame;
- }
return success;
}
@@ -646,12 +639,8 @@ namespace usrp2 {
return false;
bool success = (ntohx(reply.ok) == 1);
- if (success){
+ if (success)
d_channel_rings[channel].reset();
- d_rx_str_p = false;
- d_rx_str_channel = 0;
- d_rx_str_items_per_frame = 0;
- }
return success;
}
@@ -730,7 +719,6 @@ namespace usrp2 {
bool
usrp2::impl::set_tx_center_freq(double frequency, tune_result *result)
{
- //without_streaming s(this);
op_config_tx_v2_cmd cmd;
op_config_tx_reply_v2_t reply;