summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2023-05-25 08:41:12 -0700
committerGitHub <noreply@github.com>2023-05-25 16:41:12 +0100
commited69d78f27a384bca11f2d815224083120941580 (patch)
tree0cd3f7c30638348993caffe9596f4442eb33572e /keyboards
parent6e41377824a42487bb4a1d24fc95d7301477ca97 (diff)
[Bug][Keyboard] Fix key display on Corne OLED (#21044)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/crkbd/crkbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/crkbd/crkbd.c b/keyboards/crkbd/crkbd.c
index ea1dc2e042..3c1cd5565b 100644
--- a/keyboards/crkbd/crkbd.c
+++ b/keyboards/crkbd/crkbd.c
@@ -91,7 +91,7 @@ static void set_keylog(uint16_t keycode, keyrecord_t *record) {
}
// update keylog
- key_name = code_to_name[keycode];
+ key_name = pgm_read_byte(&code_to_name[keycode]);
last_row = record->event.key.row;
last_col = record->event.key.col;
}