From c989d5877de22de7c8337b2b01266a718152cdff Mon Sep 17 00:00:00 2001
From: "A. Maitland Bottoms" <bottoms@debian.org>
Date: Sun, 6 Dec 2020 18:40:54 -0500
Subject: [PATCH] spelling

---
 host/lib/rfnoc/blockdef_xml_impl.cpp           | 2 +-
 host/lib/usrp/dboard/twinrx/twinrx_experts.cpp | 2 +-
 host/lib/usrp/x300/x300_impl.cpp               | 2 +-
 host/lib/utils/ihex.cpp                        | 2 +-
 host/utils/b2xx_fx3_utils.cpp                  | 2 +-
 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
-- 
2.20.1

