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:
parent
d71ce7c294
commit
980d31a404
|
@ -278,7 +278,6 @@ void uhd_device::set_ref_clk(bool ext_clk)
|
||||||
uhd::clock_config_t clk_cfg;
|
uhd::clock_config_t clk_cfg;
|
||||||
|
|
||||||
clk_cfg.pps_source = uhd::clock_config_t::PPS_SMA;
|
clk_cfg.pps_source = uhd::clock_config_t::PPS_SMA;
|
||||||
clk_cfg.pps_polarity = uhd::clock_config_t::PPS_NEG;
|
|
||||||
|
|
||||||
if (ext_clk)
|
if (ext_clk)
|
||||||
clk_cfg.ref_source = uhd::clock_config_t::REF_SMA;
|
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;
|
uhd::clock_config_t clk_cfg;
|
||||||
|
|
||||||
clk_cfg.pps_source = uhd::clock_config_t::PPS_SMA;
|
clk_cfg.pps_source = uhd::clock_config_t::PPS_SMA;
|
||||||
clk_cfg.pps_polarity = uhd::clock_config_t::PPS_NEG;
|
|
||||||
|
|
||||||
if (ext_clk)
|
if (ext_clk)
|
||||||
clk_cfg.ref_source = uhd::clock_config_t::REF_SMA;
|
clk_cfg.ref_source = uhd::clock_config_t::REF_SMA;
|
||||||
|
|
Reference in New Issue