summaryrefslogtreecommitdiff
path: root/src/displayapp
diff options
context:
space:
mode:
authorluz paz <luzpaz@github.com>2022-05-31 15:17:36 -0400
committerRiku Isokoski <riksu9000@gmail.com>2022-06-05 09:31:23 +0300
commit03a510bd182cdb89005d75e0f8dacf734efce315 (patch)
tree581d6638c06a2211c2d154e69cf66d702e1de818 /src/displayapp
parent7f45538eb53235ab4015fcf13533796c8759c7bc (diff)
Fix various typos
Found via `codespell -q 3 -S ./src/libs -L ans,doubleclick,trough`
Diffstat (limited to 'src/displayapp')
-rw-r--r--src/displayapp/LittleVgl.cpp4
-rwxr-xr-xsrc/displayapp/fonts/generate.py2
-rw-r--r--src/displayapp/screens/Screen.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/displayapp/LittleVgl.cpp b/src/displayapp/LittleVgl.cpp
index f401f524..64c99261 100644
--- a/src/displayapp/LittleVgl.cpp
+++ b/src/displayapp/LittleVgl.cpp
@@ -94,8 +94,8 @@ void LittleVgl::FlushDisplay(const lv_area_t* area, lv_color_t* color_p) {
uint16_t y1, y2, width, height = 0;
ulTaskNotifyTake(pdTRUE, 200);
- // NOtification is still needed (even if there is a mutex on SPI) because of the DataCommand pin
- // which cannot be set/clear during a transfert.
+ // Notification is still needed (even if there is a mutex on SPI) because of the DataCommand pin
+ // which cannot be set/clear during a transfer.
if ((scrollDirection == LittleVgl::FullRefreshDirections::Down) && (area->y2 == visibleNbLines - 1)) {
writeOffset = ((writeOffset + totalNbLines) - visibleNbLines) % totalNbLines;
diff --git a/src/displayapp/fonts/generate.py b/src/displayapp/fonts/generate.py
index f0af506c..c172df0c 100755
--- a/src/displayapp/fonts/generate.py
+++ b/src/displayapp/fonts/generate.py
@@ -43,7 +43,7 @@ def main():
if not os.path.exists(args.config):
sys.exit(f'Error: the config file {args.config} does not exist.')
if not os.access(args.config, os.R_OK):
- sys.exit(f'Error: the config file {args.config} is not accessable (permissions?).')
+ sys.exit(f'Error: the config file {args.config} is not accessible (permissions?).')
with open(args.config, 'r') as fd:
data = json.load(fd)
diff --git a/src/displayapp/screens/Screen.h b/src/displayapp/screens/Screen.h
index 04bb152c..e72a2368 100644
--- a/src/displayapp/screens/Screen.h
+++ b/src/displayapp/screens/Screen.h
@@ -35,7 +35,7 @@ namespace Pinetime {
private:
T value {}; // NSDMI - default initialise type
- bool isUpdated {true}; // NSDMI - use brace initilisation
+ bool isUpdated {true}; // NSDMI - use brace initialisation
};
class Screen {