From 3ab92a83c8f051c7f52511eebfc4dcd9fca92251 Mon Sep 17 00:00:00 2001 From: Ciro Nishiguchi Date: Mon, 11 May 2020 12:57:22 -0500 Subject: uhd: Fix infinite recursion in N3xx timed commands The implementation of set_command_time was calling wb_iface set_time, which in turn makes a recursive call to set_command_time. This removes the erroneous recursive call. --- host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp') diff --git a/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp b/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp index f8ec47c18..4ee8a9a6d 100644 --- a/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp +++ b/host/lib/usrp/dboard/rhodium/rhodium_radio_control.cpp @@ -702,17 +702,6 @@ bool rhodium_radio_control_impl::get_lo_lock_status(const direction_t dir) const return (dir == RX_DIRECTION) ? _rx_lo->get_lock_status() : _tx_lo->get_lock_status(); } -/************************************************************************** - * node_t API Calls - *************************************************************************/ -void rhodium_radio_control_impl::set_command_time( - uhd::time_spec_t time, const size_t chan) -{ - UHD_ASSERT_THROW(chan == 0); - node_t::set_command_time(time, chan); - _wb_iface->set_time(time); -} - // Register the block UHD_RFNOC_BLOCK_REGISTER_FOR_DEVICE_DIRECT( rhodium_radio_control, RADIO_BLOCK, N320, "Radio", true, "radio_clk", "bus_clk"); -- cgit v1.2.3