From 60996cd9debc313054bf031f2d0770bf4e7cdd6f Mon Sep 17 00:00:00 2001
From: Rylie Pavlik <rylie.pavlik@collabora.com>
Date: Thu, 21 Mar 2024 11:31:05 -0500
Subject: [PATCH] drivers: Fix codespell errors.

---
 src/xrt/drivers/depthai/depthai_driver.cpp | 2 +-
 src/xrt/drivers/multi_wrapper/multi.h      | 2 +-
 src/xrt/drivers/vive/vive_device.h         | 2 +-
 src/xrt/drivers/wmr/wmr_hmd.c              | 2 +-
 src/xrt/drivers/wmr/wmr_hmd.h              | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/xrt/drivers/depthai/depthai_driver.cpp b/src/xrt/drivers/depthai/depthai_driver.cpp
index 59ca73447..15ba2e879 100644
--- a/src/xrt/drivers/depthai/depthai_driver.cpp
+++ b/src/xrt/drivers/depthai/depthai_driver.cpp
@@ -913,7 +913,7 @@ depthai_setup_stereo_grayscale_pipeline(struct depthai_fs *depthai)
 	}
 
 	//!@todo This code will turn the exposure time down, but you may not want it. Or we may want to rework Monado's
-	//! AEG code to control the IR floodlight brightness in concert with the exposure itme. For now, disable.
+	//! AEG code to control the IR floodlight brightness in concert with the exposure time. For now, disable.
 }
 
 #ifdef DEPTHAI_HAS_MULTICAM_SUPPORT
diff --git a/src/xrt/drivers/multi_wrapper/multi.h b/src/xrt/drivers/multi_wrapper/multi.h
index 4c641399e..139cb760c 100644
--- a/src/xrt/drivers/multi_wrapper/multi.h
+++ b/src/xrt/drivers/multi_wrapper/multi.h
@@ -33,7 +33,7 @@ extern "C" {
  * The pose provided by get_tracked_pose will be provided by the tracker device.
  *
  * @param override_type The kind of override this wrapper device will provide.
- * @param tracking_override_target An existing device that will be mimiced by the created device.
+ * @param tracking_override_target An existing device that will be mimicked by the created device.
  * @param tracking_override_tracker An existing device that will be used to provide tracking data.
  * @param tracking_override_input_name The input name of the tracker device. XRT_INPUT_GENERIC_TRACKER_POSE for generic
  * trackers.
diff --git a/src/xrt/drivers/vive/vive_device.h b/src/xrt/drivers/vive/vive_device.h
index b5f04ea31..ac5e988d9 100644
--- a/src/xrt/drivers/vive/vive_device.h
+++ b/src/xrt/drivers/vive/vive_device.h
@@ -101,7 +101,7 @@ struct vive_device
 
 	/*!
 	 * Offset for tracked pose offsets (applies to both fusion and SLAM).
-	 * Applied when getting the tracked poses, so is effectivily a offset
+	 * Applied when getting the tracked poses, so is effectively a offset
 	 * to increase or decrease prediction.
 	 */
 	struct u_var_draggable_f32 tracked_offset_ms;
diff --git a/src/xrt/drivers/wmr/wmr_hmd.c b/src/xrt/drivers/wmr/wmr_hmd.c
index b04ee2b44..700fe7083 100644
--- a/src/xrt/drivers/wmr/wmr_hmd.c
+++ b/src/xrt/drivers/wmr/wmr_hmd.c
@@ -736,7 +736,7 @@ wmr_hmd_activate_reverb(struct wmr_hmd *wh)
 
 	WMR_TRACE(wh, "Activating HP Reverb G1/G2 HMD...");
 
-	// Hack to power up the Reverb G1 display, thanks to OpenHMD contibutors.
+	// Hack to power up the Reverb G1 display, thanks to OpenHMD contributors.
 	// Sleep before we start seems to improve reliability.
 	// 300ms is what Windows seems to do, so cargo cult that.
 	os_nanosleep(U_TIME_1MS_IN_NS * 300);
diff --git a/src/xrt/drivers/wmr/wmr_hmd.h b/src/xrt/drivers/wmr/wmr_hmd.h
index 76911a7fb..d20d6c3a7 100644
--- a/src/xrt/drivers/wmr/wmr_hmd.h
+++ b/src/xrt/drivers/wmr/wmr_hmd.h
@@ -176,7 +176,7 @@ struct wmr_hmd
 
 	/*!
 	 * Offset for tracked pose offsets (applies to both fusion and SLAM).
-	 * Applied when getting the tracked poses, so is effectivily a offset
+	 * Applied when getting the tracked poses, so is effectively a offset
 	 * to increase or decrease prediction.
 	 */
 	struct u_var_draggable_f32 tracked_offset_ms;