summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-06-21 20:29:15 +1000
committerGitHub <noreply@github.com>2021-06-21 11:29:15 +0100
commit59c572eaf085d6a71f1455a4a309bb83f5d7d83f (patch)
tree3de2a543dd8ff42cfc284d5cfc95221b9b0ad18d /keyboards/handwired/onekey
parent8db1be64204ac8384781a08f43dc7853b060cf1a (diff)
Cleanup junk characters, part 1 (#13282)
Diffstat (limited to 'keyboards/handwired/onekey')
-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).