diff options
author | Matt Ettus | 2009-11-26 11:20:00 -0800 |
---|---|---|
committer | Matt Ettus | 2009-11-26 11:20:00 -0800 |
commit | 7081879769829e49623adb68dc8c228082a91dda (patch) | |
tree | d6d5718daa4bebc0ddd7654122ccce19a9a384fe /usrp2 | |
parent | 132112bf5a904746d0eda4ef26ab968f232f523b (diff) | |
download | gnuradio-7081879769829e49623adb68dc8c228082a91dda.tar.gz gnuradio-7081879769829e49623adb68dc8c228082a91dda.tar.bz2 gnuradio-7081879769829e49623adb68dc8c228082a91dda.zip |
Control bits for filter bandwidths had the wrong shifts. Found and fixed by Stephen Lai of UCalgary
Diffstat (limited to 'usrp2')
-rw-r--r-- | usrp2/firmware/lib/db_xcvr2450.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usrp2/firmware/lib/db_xcvr2450.c b/usrp2/firmware/lib/db_xcvr2450.c index ffdf8d660..a48af9035 100644 --- a/usrp2/firmware/lib/db_xcvr2450.c +++ b/usrp2/firmware/lib/db_xcvr2450.c @@ -250,8 +250,8 @@ static void set_reg_lpf(struct db_xcvr2450_dummy *db){ int reg_lpf = ( (db->common->d_rssi_hbw<<15) | - (db->common->d_txlpf_bw<<10) | - (db->common->d_rxlpf_bw<<9) | + (db->common->d_txlpf_bw<<9) | + (db->common->d_rxlpf_bw<<7) | (db->common->d_rxlpf_fine<<4) | 7); send_reg(reg_lpf); } |