laforge
/
openbts-osmo
Archived
1
0
Fork 0

uhd: remove external clock polarity setting

Unused and causes the follwing errors on certain UHD versions.

"ValueError: unhandled clock configuration reference source: _external_"

Signed-off-by: Thomas Tsou <ttsou@vt.edu>
master
Thomas Tsou 11 years ago
parent d71ce7c294
commit 980d31a404
  1. 1
      public-trunk/Transceiver/UHDDevice.cpp
  2. 1
      public-trunk/Transceiver52M/UHDDevice.cpp

@ -278,7 +278,6 @@ void uhd_device::set_ref_clk(bool ext_clk)
uhd::clock_config_t clk_cfg;
clk_cfg.pps_source = uhd::clock_config_t::PPS_SMA;
clk_cfg.pps_polarity = uhd::clock_config_t::PPS_NEG;
if (ext_clk)
clk_cfg.ref_source = uhd::clock_config_t::REF_SMA;

@ -278,7 +278,6 @@ void uhd_device::set_ref_clk(bool ext_clk)
uhd::clock_config_t clk_cfg;
clk_cfg.pps_source = uhd::clock_config_t::PPS_SMA;
clk_cfg.pps_polarity = uhd::clock_config_t::PPS_NEG;
if (ext_clk)
clk_cfg.ref_source = uhd::clock_config_t::REF_SMA;