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.

Attachment: flexrf-refclk_freq.diff
Description: Binary data

_______________________________________________
Patch-gnuradio mailing list
Patch-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/patch-gnuradio

Reply via email to