summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2021-06-21 21:17:26 +1000
committerfauxpark <fauxpark@gmail.com>2021-06-21 21:17:26 +1000
commiteaba4d327f4c8b42634872d7f3e24489d9a9f8cd (patch)
tree6c0d7c395623a59c6e297ce4df4f0d01d4ac02a7 /keyboards/handwired
parente4a2cfd85304d7088039c8480347d5525e96e0c2 (diff)
parent59c572eaf085d6a71f1455a4a309bb83f5d7d83f (diff)
Merge remote-tracking branch 'upstream/master' into develop
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).