aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp
diff options
context:
space:
mode:
authorMartin Anderseck <martin.anderseck@ni.com>2021-09-09 16:11:47 +0200
committerAaron Rossetto <aaron.rossetto@ni.com>2021-09-16 11:26:37 -0700
commitdc44bfa53ea0a2854ce640d700af8543fc55c795 (patch)
treec317e7fe552e51735de1cf931df300d395bd7bcc /host/lib/usrp
parent8ff0011cae0af5cdb5ef9a35952c61310e06499d (diff)
downloaduhd-dc44bfa53ea0a2854ce640d700af8543fc55c795.tar.gz
uhd-dc44bfa53ea0a2854ce640d700af8543fc55c795.tar.bz2
uhd-dc44bfa53ea0a2854ce640d700af8543fc55c795.zip
X300: Fix error message for wrong reference frequency
Error message was not adapted when support for 11.52 MHz and 23.04 MHz references was added. Fixing this.
Diffstat (limited to 'host/lib/usrp')
-rw-r--r--host/lib/usrp/x300/x300_clock_ctrl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/x300/x300_clock_ctrl.cpp b/host/lib/usrp/x300/x300_clock_ctrl.cpp
index b7b8f272c..004c5df3c 100644
--- a/host/lib/usrp/x300/x300_clock_ctrl.cpp
+++ b/host/lib/usrp/x300/x300_clock_ctrl.cpp
@@ -638,7 +638,8 @@ private:
} else {
throw uhd::runtime_error(
str(boost::format("Invalid system reference rate: %.2f MHz.\nValid "
- "reference frequencies are: 10 MHz, 30.72 MHz.")
+ "reference frequencies are: 10 MHz, 11.52 MHz, "
+ "23.04 MHz, 30.72 MHz.")
% (_system_ref_rate / 1e6)));
}
UHD_ASSERT_THROW(clocking_mode != INVALID);