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>
This commit is contained in:
Thomas Tsou 2011-08-10 16:49:43 -07:00
parent d71ce7c294
commit 980d31a404
2 changed files with 0 additions and 2 deletions

View File

@ -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;

View File

@ -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;