From ed69d78f27a384bca11f2d815224083120941580 Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Thu, 25 May 2023 08:41:12 -0700 Subject: [PATCH] [Bug][Keyboard] Fix key display on Corne OLED (#21044) --- keyboards/crkbd/crkbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/crkbd/crkbd.c b/keyboards/crkbd/crkbd.c index ea1dc2e04218..3c1cd5565be2 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; }