aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-12-20 18:31:57 -0800
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:06:03 -0800
commite9863e73a4f188632acf49de485a43844bd232fb (patch)
treec2b3e74b57a1baf0018e12702bfdd0f3df026c1d
parente2b155726ee7c2ba6f2333948f5bf35d896b301a (diff)
downloaduhd-e9863e73a4f188632acf49de485a43844bd232fb.tar.gz
uhd-e9863e73a4f188632acf49de485a43844bd232fb.tar.bz2
uhd-e9863e73a4f188632acf49de485a43844bd232fb.zip
mg: Don't set default rate before having RPC access
This will do nothing useful, but will print warnings that clock rates don't match. So let's remove that setting.
-rw-r--r--host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp
index 1b9e7f90e..45c1794c3 100644
--- a/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp
+++ b/host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp
@@ -37,8 +37,6 @@ void magnesium_radio_ctrl_impl::_init_defaults()
UHD_LOG_TRACE(unique_id(),
"Num TX chans: " << num_tx_chans
<< " Num RX chans: " << num_rx_chans);
- // get_rate() is useless until we can ask MPM for the actual rate
- radio_ctrl_impl::set_rate(1.0);
for (size_t chan = 0; chan < num_rx_chans; chan++) {
radio_ctrl_impl::set_rx_frequency(MAGNESIUM_CENTER_FREQ, chan);