From fd772737061200d0971ba0dba66bfdddfca02b2d Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 20 Feb 2017 10:52:15 -0800 Subject: uhd: Fix C API LO controls --- host/lib/usrp/usrp_c.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'host/lib/usrp') 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); ) } -- cgit v1.2.3