diff options
author | Hendrik Vogt <hendrik.vogt@rub.de> | 2016-10-21 19:24:39 +0200 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-02-27 16:31:26 -0800 |
commit | f85352491975d1b98680512617a074db09f6da5e (patch) | |
tree | 7c2b0cb51ae4fdc7e0c4794f1644078575556b36 /host/lib/usrp/usrp_c.cpp | |
parent | e2e0aab1855317d77294fca42bf435a41931a8fb (diff) | |
download | uhd-f85352491975d1b98680512617a074db09f6da5e.tar.gz uhd-f85352491975d1b98680512617a074db09f6da5e.tar.bz2 uhd-f85352491975d1b98680512617a074db09f6da5e.zip |
C API: Implement set_time_source_out and fix typo
Diffstat (limited to 'host/lib/usrp/usrp_c.cpp')
-rw-r--r-- | host/lib/usrp/usrp_c.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
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, |