From e9863e73a4f188632acf49de485a43844bd232fb Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 20 Dec 2017 18:31:57 -0800 Subject: 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. --- host/lib/usrp/dboard/magnesium/magnesium_radio_ctrl_init.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'host/lib/usrp/dboard') 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); -- cgit v1.2.3