summaryrefslogtreecommitdiff
path: root/usrp/host/lib
diff options
context:
space:
mode:
authorJohnathan Corgan2010-05-11 14:13:52 -0700
committerJohnathan Corgan2010-05-11 14:13:52 -0700
commit42e7489aa15a799e9a9a86ffd367c4d823080bbf (patch)
treeb9522c487e817b351af80b397399cb08820d19e9 /usrp/host/lib
parent547d65b6c4353a899809136af06f393810aaad03 (diff)
downloadgnuradio-42e7489aa15a799e9a9a86ffd367c4d823080bbf.tar.gz
gnuradio-42e7489aa15a799e9a9a86ffd367c4d823080bbf.tar.bz2
gnuradio-42e7489aa15a799e9a9a86ffd367c4d823080bbf.zip
usrp: Cleanup for merge of bitshark daughterboard code
Removed unused variable Set default bandwidth to 8M in constructor
Diffstat (limited to 'usrp/host/lib')
-rw-r--r--usrp/host/lib/db_bitshark_rx.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/usrp/host/lib/db_bitshark_rx.cc b/usrp/host/lib/db_bitshark_rx.cc
index 9b8ada4a2..5368866d8 100644
--- a/usrp/host/lib/db_bitshark_rx.cc
+++ b/usrp/host/lib/db_bitshark_rx.cc
@@ -150,6 +150,8 @@ db_bitshark_rx::db_bitshark_rx(usrp_basic_sptr _usrp, int which)
// the external clk input on the USRP
set_clock_scheme(0,64000000);
+ set_bw(8e6); // Default IF bandwidth to match USRP1 max host bandwidth
+
bypass_adc_buffers(true);
}
@@ -259,7 +261,6 @@ db_bitshark_rx::set_gain(float gain)
// @returns True/False
std::vector<int> args(NUM_BYTES_IN_I2C_CMD,0);
- uint8_t final_gain = (uint8_t)gain;
bool result = false;
uint8_t try_count = 0;