aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/usrp_c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/usrp/usrp_c.cpp')
-rw-r--r--host/lib/usrp/usrp_c.cpp12
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,