samcrow / uhd-rust

Rust bindings to the UHD (USRP Hardware Driver) library
13 stars 12 forks source link

Added set clock source #10

Closed cain986 closed 4 months ago

cain986 commented 4 months ago

I added the set_clock_source function. I tested it with a b205mini and UHD 4.6.0.0 on Ubuntu Jammy

[INFO] [UHD] linux; GNU C++ version 11.4.0; Boost_107400; UHD_4.6.0.0-0ubuntu1~jammy1

The added code in the example is to demonstrate that it works, at least as far as I know.

samcrow commented 4 months ago

Thanks for contributing. Unless I get an unexpected problem, I'll publish a new release sometime today.