mirror of
https://github.com/EttusResearch/uhd.git
synced 2026-10-25 17:36:10 +00:00
adrv9032: fix nco source check
This commit is contained in:
parent
b8d34e36be
commit
e8079eca45
@ -233,7 +233,7 @@ public:
|
||||
}
|
||||
check_adrv9032_error(_adrv9032_ctrl->set_chan_pll_source(dir, chan, src));
|
||||
} else if (name == "NCO") {
|
||||
if (src != "NC0") {
|
||||
if (src != "NCO") {
|
||||
throw uhd::value_error("Invalid NCO source: " + src);
|
||||
// There isn't actually any NCO source to set, but don't throw the Invalid
|
||||
// Name error since "NCO" is a valid name.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user