From f85352491975d1b98680512617a074db09f6da5e Mon Sep 17 00:00:00 2001 From: Hendrik Vogt Date: Fri, 21 Oct 2016 19:24:39 +0200 Subject: C API: Implement set_time_source_out and fix typo --- host/lib/usrp/usrp_c.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'host/lib') diff --git a/host/lib/usrp/usrp_c.cpp b/host/lib/usrp/usrp_c.cpp index 623a79d59..e97be2abe 100644 --- a/host/lib/usrp/usrp_c.cpp +++ b/host/lib/usrp/usrp_c.cpp @@ -615,6 +615,16 @@ uhd_error uhd_usrp_set_clock_source_out( ) } +uhd_error uhd_usrp_set_time_source_out( + uhd_usrp_handle h, + bool enb, + size_t mboard +){ + UHD_SAFE_C_SAVE_ERROR(h, + USRP(h)->set_time_source_out(enb, mboard); + ) +} + uhd_error uhd_usrp_get_num_mboards( uhd_usrp_handle h, size_t *num_mboards_out @@ -1491,7 +1501,7 @@ uhd_error uhd_usrp_write_register( ) } -uhd_error uhd_usrp_write_register( +uhd_error uhd_usrp_read_register( uhd_usrp_handle h, const char* path, uint32_t field, -- cgit v1.2.3