Lee Patton wrote:
> I have seen that problem too. It is the result of incorrect python
> integer/float semantics during the setting of the gc2 variable in the
> set_gain() method found in db_dbs_rx.py. I will post a complete patch
> once I am finished investigating some other gain issues that I have
> noticed. 
> 
> For now, the following change should work:
> 
> old: gc2 = int(round(31 * (1-gain/24)))
> new: gc2 = int(round(31 * (1-gain/24.)))


In the mean time, I have checked this in.  Thanks for finding the problem.

Matt


_______________________________________________
Discuss-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to