]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - keyboard/gh60/keymap.c
Fix debug code of serial_soft.c
[max/tmk_keyboard.git] / keyboard / gh60 / keymap.c
index 9cef2137b65321e61eb82cfaf2aa8e16f0a1bea3..a17c11fc3b4176d3843639693184163d69cb295b 100644 (file)
@@ -165,7 +165,7 @@ static const uint16_t PROGMEM fn_actions[] = {
 /* translates key to keycode */
 uint8_t keymap_key_to_keycode(uint8_t layer, key_t key)
 {
-    return pgm_read_byte(&keymaps[(layer)][(key.pos.row)][(key.pos.col)]);
+    return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]);
 }
 
 /* translates Fn index to action */