From f3f9d95476e870c85ca1b0dfa9cee7a951800f87 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 16 Feb 2017 08:36:58 -0800 Subject: C API: Added missing fields to USRP info --- host/lib/usrp/usrp_c.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host') diff --git a/host/lib/usrp/usrp_c.cpp b/host/lib/usrp/usrp_c.cpp index 99c671ec5..623a79d59 100644 --- a/host/lib/usrp/usrp_c.cpp +++ b/host/lib/usrp/usrp_c.cpp @@ -378,6 +378,7 @@ uhd_error uhd_usrp_get_rx_info( uhd::dict rx_info = USRP(h)->get_usrp_rx_info(chan); COPY_INFO_FIELD(info_out, rx_info, mboard_id); + COPY_INFO_FIELD(info_out, rx_info, mboard_name); COPY_INFO_FIELD(info_out, rx_info, mboard_serial); COPY_INFO_FIELD(info_out, rx_info, rx_id); COPY_INFO_FIELD(info_out, rx_info, rx_subdev_name); @@ -396,6 +397,7 @@ uhd_error uhd_usrp_get_tx_info( uhd::dict tx_info = USRP(h)->get_usrp_tx_info(chan); COPY_INFO_FIELD(info_out, tx_info, mboard_id); + COPY_INFO_FIELD(info_out, tx_info, mboard_name); COPY_INFO_FIELD(info_out, tx_info, mboard_serial); COPY_INFO_FIELD(info_out, tx_info, tx_id); COPY_INFO_FIELD(info_out, tx_info, tx_subdev_name); -- cgit v1.2.3