Browse Source

[Bug][Keyboard] Fix key display on Corne OLED (#21044)

Drashna Jaelre 3 years ago
parent
commit
ed69d78f27
1 changed files with 1 additions and 1 deletions
  1. 1 1
      keyboards/crkbd/crkbd.c

+ 1 - 1
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;
 }