diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-02-16 08:36:58 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-02-20 14:58:33 -0800 |
commit | f3f9d95476e870c85ca1b0dfa9cee7a951800f87 (patch) | |
tree | f9667145f33fb09a79b86f3ed0cd2e1231e91e74 /host | |
parent | fd772737061200d0971ba0dba66bfdddfca02b2d (diff) | |
download | uhd-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.cpp | 2 |
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); |