summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/onekey/keymaps/oled/keymap.c2
-rw-r--r--keyboards/handwired/onekey/keymaps/oled/readme.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/handwired/onekey/keymaps/oled/keymap.c b/keyboards/handwired/onekey/keymaps/oled/keymap.c
index 1c120d01c1..c19b6918c0 100644
--- a/keyboards/handwired/onekey/keymaps/oled/keymap.c
+++ b/keyboards/handwired/onekey/keymaps/oled/keymap.c
@@ -282,7 +282,7 @@ void test_slow_update(void) {
if (++x >= oled_max_chars()) {
x = 0;
if (++y >= oled_max_lines()) {
- // The whole screen was filled - start the next phase.
+ // The whole screen was filled - start the next phase.
++phase;
x = y = 0;
}
diff --git a/keyboards/handwired/onekey/keymaps/oled/readme.md b/keyboards/handwired/onekey/keymaps/oled/readme.md
index 380b3eb522..9854b95804 100644
--- a/keyboards/handwired/onekey/keymaps/oled/readme.md
+++ b/keyboards/handwired/onekey/keymaps/oled/readme.md
@@ -11,7 +11,7 @@ Available commands using a single key:
Available test patterns:
- QMK logo (clipped to fit on the display).
- Fill the whole screen with as much unique characters as possible (all 94 printable ASCII characters are used, and if the display has more character positions available, the same characters are printed again, but inverted).
-- “Slow update” test — instead of updating the whole screen at once, draw things piece by piece to uncover display update bugs. The drawing sequence used by this test:
+- “Slow update” test — instead of updating the whole screen at once, draw things piece by piece to uncover display update bugs. The drawing sequence used by this test:
- Fill the whole screen with printable ASCII characters (similar to the previous test, but characters are drawn one by one with 250 ms intervals between them, and inverted characters are not used to avoid obscuring the next phases).
- Draw a frame along the screen edges, starting from the top left corner and going down along the left edge, then along the bottom, right and top edges, with 50 ms delay after every pixel.
- Repeat the same sequence again, but with the character sequence shifted by 1 character (so that the updates would be visible).