From c256b9df6502536c2e451e690f1ad5962c664d1a Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Wed, 3 Jul 2019 20:15:35 -0700 Subject: x300/mpmd: Port all RFNoC devices to the new RFNoC framework Co-Authored-By: Alex Williams Co-Authored-By: Sugandha Gupta Co-Authored-By: Brent Stapleton Co-Authored-By: Ciro Nishiguchi --- host/lib/usrp/mpmd/mpmd_prop_tree.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'host/lib/usrp/mpmd/mpmd_prop_tree.cpp') diff --git a/host/lib/usrp/mpmd/mpmd_prop_tree.cpp b/host/lib/usrp/mpmd/mpmd_prop_tree.cpp index 51b88b0e6..dc559f91b 100644 --- a/host/lib/usrp/mpmd/mpmd_prop_tree.cpp +++ b/host/lib/usrp/mpmd/mpmd_prop_tree.cpp @@ -194,16 +194,4 @@ void mpmd_impl::init_property_tree( return _get_component_info(comp_name, mb); }); // Done adding component to property tree } - - /*** MTUs ***********************************************************/ - tree->create(mb_path / "mtu/recv") - .add_coerced_subscriber([](const size_t) { - throw uhd::runtime_error("Attempting to write read-only value (MTU)!"); - }) - .set_publisher([mb]() { return mb->get_mtu(uhd::RX_DIRECTION); }); - tree->create(mb_path / "mtu/send") - .add_coerced_subscriber([](const size_t) { - throw uhd::runtime_error("Attempting to write read-only value (MTU)!"); - }) - .set_publisher([mb]() { return mb->get_mtu(uhd::TX_DIRECTION); }); } -- cgit v1.2.3