diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-02-20 10:52:15 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-02-20 14:57:23 -0800 |
commit | fd772737061200d0971ba0dba66bfdddfca02b2d (patch) | |
tree | e169050550eed158ac5a5b7993ae5fe0ad775316 | |
parent | deee58982a45718570dce4910112d6a4b56b2480 (diff) | |
download | uhd-fd772737061200d0971ba0dba66bfdddfca02b2d.tar.gz uhd-fd772737061200d0971ba0dba66bfdddfca02b2d.tar.bz2 uhd-fd772737061200d0971ba0dba66bfdddfca02b2d.zip |
uhd: Fix C API LO controls
-rw-r--r-- | host/lib/usrp/usrp_c.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/host/lib/usrp/usrp_c.cpp b/host/lib/usrp/usrp_c.cpp index 943f96db0..99c671ec5 100644 --- a/host/lib/usrp/usrp_c.cpp +++ b/host/lib/usrp/usrp_c.cpp @@ -840,10 +840,10 @@ uhd_error uhd_usrp_get_fe_rx_freq_range( UHD_API uhd_error uhd_usrp_get_rx_lo_names( uhd_usrp_handle h, size_t chan, - uhd_string_vector_handle rx_lo_names_out + uhd_string_vector_handle *rx_lo_names_out ){ UHD_SAFE_C_SAVE_ERROR(h, - rx_lo_names_out->string_vector_cpp = USRP(h)->get_rx_lo_names(chan); + (*rx_lo_names_out)->string_vector_cpp = USRP(h)->get_rx_lo_names(chan); ) } @@ -874,10 +874,10 @@ UHD_API uhd_error uhd_usrp_get_rx_lo_sources( uhd_usrp_handle h, const char* name, size_t chan, - uhd_string_vector_handle rx_lo_sources_out + uhd_string_vector_handle *rx_lo_sources_out ){ UHD_SAFE_C_SAVE_ERROR(h, - rx_lo_sources_out->string_vector_cpp = USRP(h)->get_rx_lo_sources(name, chan); + (*rx_lo_sources_out)->string_vector_cpp = USRP(h)->get_rx_lo_sources(name, chan); ) } |