Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/host/lib/usrp/cores/rx_dsp_core_200.cpp b/host/lib/usrp/cores/rx_dsp_core_200.cpp
- index a894050..113a035 100644
- --- a/host/lib/usrp/cores/rx_dsp_core_200.cpp
- +++ b/host/lib/usrp/cores/rx_dsp_core_200.cpp
- @@ -194,7 +194,7 @@ public:
- }
- void update_scalar(void){
- - const double target_scalar = (1 << 16)*_scaling_adjustment/_dsp_extra_scaling;
- + const double target_scalar = (1 << 16)*_scaling_adjustment/_dsp_extra_scaling*2.0;
- const boost::int32_t actual_scalar = boost::math::iround(target_scalar);
- _fxpt_scalar_correction = target_scalar/actual_scalar; //should be small
- _iface->poke32(REG_DSP_RX_SCALE_IQ, actual_scalar);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement