From eeb6463091847159308da72a64cfd8dd0271941b Mon Sep 17 00:00:00 2001 From: Oleg Kostyuk Date: Sat, 3 Jan 2015 00:12:17 +0200 Subject: [PATCH] Change key_t to keypos_t - follow Hasu's style --- keyboard/ergodox/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboard/ergodox/keymap.c b/keyboard/ergodox/keymap.c index 048be0e888..39713e5026 100644 --- a/keyboard/ergodox/keymap.c +++ b/keyboard/ergodox/keymap.c @@ -208,7 +208,7 @@ void action_function(keyrecord_t *event, uint8_t id, uint8_t opt) #define FN_ACTIONS_SIZE (sizeof(fn_actions) / sizeof(fn_actions[0])) /* translates key to keycode */ -uint8_t keymap_key_to_keycode(uint8_t layer, key_t key) +uint8_t keymap_key_to_keycode(uint8_t layer, keypos_t key) { if (layer < KEYMAPS_SIZE) { return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]);