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: I7ddcf61ed2d596171384fdb5f0fc1e2feb4240bf
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/README.md b/README.md
index 9ad2697..3fb6bf8 100644
--- a/README.md
+++ b/README.md
@@ -230,7 +230,7 @@
### Serial uart mux config
Similar to host selector there are multiple gpios associated with the serial
-uart mux. These gpio configs are specificed as part of json array
+uart mux. These gpio configs are specified as part of json array
"group_gpio_config".
Here the serial uart mux output is accessed via OCP debug card. SO the OCP debug
diff --git a/src/gpio.cpp b/src/gpio.cpp
index 99f31e8..d58207e 100644
--- a/src/gpio.cpp
+++ b/src/gpio.cpp
@@ -262,8 +262,8 @@
}
devPath.clear();
- // For gpio configured as ‘both’, it is an interrupt pin and trigged on
- // both rising and falling signals
+ // For gpio configured as ‘both’, it is an interrupt pin and triggered
+ // on both rising and falling signals
devPath = gpioDev + "/gpio" + std::to_string(gpioNum) + "/edge";
stream.open(devPath, std::fstream::out);
diff --git a/src/main.cpp b/src/main.cpp
index 914d331..fc02acb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -91,7 +91,7 @@
buttonCfg.extraJsonInfo = gpioConfig;
buttonCfg.type = ConfigType::gpio;
- /* The folloing code checks if the gpio config read
+ /* The following code checks if the gpio config read
from json file is single gpio config or group gpio config,
based on that further data is processed. */
lg2::debug("Found button config : {FORM_FACTOR_NAME}",