Forum: GNU Radio flexrf_base.cc

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
287db267f16cb26430934ea36168e6b3?d=identicon&s=25 Mattias Kjellsson (Guest)
on 2009-03-06 15:11
(Received via mailing list)
Hi list,

I was browsing the c++ code in gr-usrp today, and found a strange thing
in "flexrf_base.cc", line 337 to 349 in svn10524 (included below).
==================
flexrf_base_tx::gain_min()
{
  return usrp()->pga_max();
}

float
flexrf_base_tx::gain_max()
{
  return usrp()->pga_max();
}

==================

Is it just me who thinks it looks strange that both gain_min() and
gain_max() calls pga_max()? Since it looks like a typo, I felt obligated
to report...

BR
//Mattias
745d8202ef5a58c1058d0e5395a78f9c?d=identicon&s=25 Eric Blossom (Guest)
on 2009-03-06 20:03
(Received via mailing list)
On Fri, Mar 06, 2009 at 03:09:54PM +0100, Mattias Kjellsson wrote:
> float
>
> BR

Hi Mattias,

That code is correct.  For best performance of the RFX's we always run
the PGA's at the maximum gain.

Eric
This topic is locked and can not be replied to.