Fix spelling mistakes using codespell
This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.
[1]: https://github.com/codespell-project/codespell
Change-Id: I7282eed4dd7df45ffd15d5e93820b7f3013252b7
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/physical.hpp b/physical.hpp
index 4194c9e..87bf5b5 100644
--- a/physical.hpp
+++ b/physical.hpp
@@ -52,7 +52,7 @@
// need to save what the micro-controller currently has.
setInitialState();
- // Read led color from enviroment and set it in DBus.
+ // Read led color from environment and set it in DBus.
setLedColor(color);
// We are now ready.
@@ -66,7 +66,7 @@
*/
Action state(Action value) override;
- /** @brief Overriden State Property Getter function
+ /** @brief Overridden State Property Getter function
*
* @return - One of OFF / ON / BLINK
*/
@@ -80,7 +80,7 @@
/** @brief The value that will assert the LED */
unsigned long assert{};
- /** @brief reads sysfs and then setsup the parameteres accordingly
+ /** @brief reads sysfs and then setup the parameters accordingly
*
* @return None
*/
diff --git a/test/physical.cpp b/test/physical.cpp
index b6fb35b..271143c 100644
--- a/test/physical.cpp
+++ b/test/physical.cpp
@@ -17,7 +17,7 @@
/* If your tests need to touch the filesystem, always use mkdtemp() or
* mkstemp() for creating directories and files. Tests can be run in
* parallel with `make -j`, and if use the same path in multiple tests they
- * will stomp on eachother and likely fail.
+ * will stomp on each other and likely fail.
*/
static constexpr auto tmplt = "/tmp/MockLed.XXXXXX";
std::array<char, MAXPATHLEN> buffer = {0};