aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2017-02-16 08:36:58 -0800
committerMartin Braun <martin.braun@ettus.com>2017-02-20 14:58:33 -0800
commitf3f9d95476e870c85ca1b0dfa9cee7a951800f87 (patch)
treef9667145f33fb09a79b86f3ed0cd2e1231e91e74 /host
parentfd772737061200d0971ba0dba66bfdddfca02b2d (diff)
downloaduhd-f3f9d95476e870c85ca1b0dfa9cee7a951800f87.tar.gz
uhd-f3f9d95476e870c85ca1b0dfa9cee7a951800f87.tar.bz2
uhd-f3f9d95476e870c85ca1b0dfa9cee7a951800f87.zip
C API: Added missing fields to USRP info
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/usrp_c.cpp2
1 files changed, 2 insertions, 0 deletions
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<std::string, std::string> 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<std::string, std::string> 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);