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/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}",