diff --git a/host/umtrx_impl.cpp b/host/umtrx_impl.cpp index a5e0b94e..47dbf78d 100644 --- a/host/umtrx_impl.cpp +++ b/host/umtrx_impl.cpp @@ -740,11 +740,9 @@ umtrx_impl::umtrx_impl(const device_addr_t &device_addr) property_alias(_tree, mb_path / "divsw"+(fe_name=="A"?"1":"2"), rx_rf_fe_path / "diversity"); } - //set TCXO DAC calibration value, which is read from mboard EEPROM - const std::string tcxo_dac = _iface->mb_eeprom.get("tcxo-dac", ""); + //TCXO DAC calibration control if (not tcxo_dac.empty()) _tree->create(mb_path / "tcxo_dac" / "value") - .subscribe(boost::bind(&umtrx_impl::set_tcxo_dac, this, _iface, _1)) - .set(boost::lexical_cast(tcxo_dac)); + .subscribe(boost::bind(&umtrx_impl::set_tcxo_dac, this, _iface, _1)); //////////////////////////////////////////////////////////////////// // post config tasks