diff options
Diffstat (limited to 'keyboard/gh60/keymap.c')
| -rw-r--r-- | keyboard/gh60/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/gh60/keymap.c b/keyboard/gh60/keymap.c index 9cef2137b..a17c11fc3 100644 --- a/keyboard/gh60/keymap.c +++ b/keyboard/gh60/keymap.c | |||
| @@ -165,7 +165,7 @@ static const uint16_t PROGMEM fn_actions[] = { | |||
| 165 | /* translates key to keycode */ | 165 | /* translates key to keycode */ |
| 166 | uint8_t keymap_key_to_keycode(uint8_t layer, key_t key) | 166 | uint8_t keymap_key_to_keycode(uint8_t layer, key_t key) |
| 167 | { | 167 | { |
| 168 | return pgm_read_byte(&keymaps[(layer)][(key.pos.row)][(key.pos.col)]); | 168 | return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]); |
| 169 | } | 169 | } |
| 170 | 170 | ||
| 171 | /* translates Fn index to action */ | 171 | /* translates Fn index to action */ |
