aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorA. Maitland Bottoms <bottoms@debian.org>2021-10-21 09:05:56 -0500
committermichael-west <michael.west@ettus.com>2021-11-10 10:24:23 -0800
commitbd8d38a26f028d6fc3d06e310e9e5ca091bd4f3d (patch)
tree1190995ba7b762e08a806416330d2fed851aa078
parentfixup! N3xx: Include FPGA images with White Rabbit fix (diff)
downloaduhd-bd8d38a26f028d6fc3d06e310e9e5ca091bd4f3d.tar.xz
uhd-bd8d38a26f028d6fc3d06e310e9e5ca091bd4f3d.zip
uhd: Fix spelling errors
Thanks to mait for pointing these out!
-rw-r--r--host/lib/rfnoc/blockdef_xml_impl.cpp2
-rw-r--r--host/lib/usrp/dboard/twinrx/twinrx_experts.cpp2
-rw-r--r--host/lib/usrp/x300/x300_impl.cpp2
-rw-r--r--host/lib/utils/ihex.cpp2
-rw-r--r--host/utils/b2xx_fx3_utils.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/host/lib/rfnoc/blockdef_xml_impl.cpp b/host/lib/rfnoc/blockdef_xml_impl.cpp
index e7a77b13f..1fc782a56 100644
--- a/host/lib/rfnoc/blockdef_xml_impl.cpp
+++ b/host/lib/rfnoc/blockdef_xml_impl.cpp
@@ -452,7 +452,7 @@ blockdef::sptr blockdef::make_from_noc_id(uint64_t noc_id)
if (valid.empty()) {
throw uhd::assertion_error("Failed to find a valid XML path for RFNoC blocks.\n"
- "Try setting the enviroment variable UHD_RFNOC_DIR "
+ "Try setting the environment variable UHD_RFNOC_DIR "
"to the correct location");
}
diff --git a/host/lib/usrp/dboard/twinrx/twinrx_experts.cpp b/host/lib/usrp/dboard/twinrx/twinrx_experts.cpp
index 36bcc1863..750b1a34b 100644
--- a/host/lib/usrp/dboard/twinrx/twinrx_experts.cpp
+++ b/host/lib/usrp/dboard/twinrx/twinrx_experts.cpp
@@ -260,7 +260,7 @@ void twinrx_chan_gain_expert::resolve()
{
if (_gain_profile != "default") {
// TODO: Implement me!
- throw uhd::not_implemented_error("custom gain strategies not implemeted yet");
+ throw uhd::not_implemented_error("custom gain strategies not implemented yet");
}
// Lookup table using settings
diff --git a/host/lib/usrp/x300/x300_impl.cpp b/host/lib/usrp/x300/x300_impl.cpp
index 2b6d4db28..e2d0aafa4 100644
--- a/host/lib/usrp/x300/x300_impl.cpp
+++ b/host/lib/usrp/x300/x300_impl.cpp
@@ -638,7 +638,7 @@ void x300_impl::update_clock_source(mboard_members_t& mb, const std::string& sou
{
// Optimize for the case when the current source is internal and we are trying
// to set it to internal. This is the only case where we are guaranteed that
- // the clock has not gone away so we can skip setting the MUX and reseting the LMK.
+ // the clock has not gone away so we can skip setting the MUX and resetting the LMK.
const bool reconfigure_clks = (mb.current_refclk_src != "internal")
or (source != "internal");
if (reconfigure_clks) {
diff --git a/host/lib/utils/ihex.cpp b/host/lib/utils/ihex.cpp
index 3c29ca99a..acbdcac28 100644
--- a/host/lib/utils/ihex.cpp
+++ b/host/lib/utils/ihex.cpp
@@ -125,7 +125,7 @@ void ihex_reader::read(ihex_reader::record_handle_type record_handler)
if (ret < 0) {
throw uhd::io_error(
- "ihex_reader::read(): record hander returned failure code");
+ "ihex_reader::read(): record handler returned failure code");
}
}
diff --git a/host/utils/b2xx_fx3_utils.cpp b/host/utils/b2xx_fx3_utils.cpp
index efeecd984..a9df43fd1 100644
--- a/host/utils/b2xx_fx3_utils.cpp
+++ b/host/utils/b2xx_fx3_utils.cpp
@@ -419,7 +419,7 @@ int32_t main(int32_t argc, char* argv[])
try {
b200->reset_fx3();
} catch (std::exception& e) {
- std::cerr << "Exception while reseting FX3: " << e.what() << std::endl;
+ std::cerr << "Exception while resetting FX3: " << e.what() << std::endl;
}
// re-open device