[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Patch-gnuradio] Remove flexrf_base::_refclk_freq()
From: |
Eric Blossom |
Subject: |
Re: [Patch-gnuradio] Remove flexrf_base::_refclk_freq() |
Date: |
Mon, 18 Jan 2010 11:30:42 -0800 |
User-agent: |
Mutt/1.5.20 (2009-08-17) |
On Sat, Jan 16, 2010 at 09:59:23PM +0300, Alexander Chemeris wrote:
> Hi,
>
> flexrf_base::_refclk_freq() just repeats old version of
> db_base::_refclk_freq() with fixed fpga frequency. We can safely
> remove implementation from flexrf_base, because base class implements
> it correctly, using runtime FPGA clock frequency value:
>
> double
> db_base::_refclk_freq()
> {
> return usrp()->fpga_master_clock_freq() / _refclk_divisor();
> }
>
> This fix allows Python examples to work correctly with non-64e6 clock
> and RFX DBs.
>
> --
> Regards,
> Alexander Chemeris.
Thanks!
Eric