From: Matt Ettus Date: Thu, 26 Nov 2009 19:20:00 +0000 (-0800) Subject: Control bits for filter bandwidths had the wrong shifts. Found and fixed by Stephen... X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=7081879769829e49623adb68dc8c228082a91dda;p=debian%2Fgnuradio Control bits for filter bandwidths had the wrong shifts. Found and fixed by Stephen Lai of UCalgary --- diff --git a/usrp2/firmware/lib/db_xcvr2450.c b/usrp2/firmware/lib/db_xcvr2450.c index ffdf8d66..a48af903 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); }