From: tmk <nobody@nowhere>
Date: Wed, 25 Jun 2014 04:50:51 +0000 (+0900)
Subject: Fix for new API(key_t to keypos_t)
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=ea60dae6e69bd3b120f2f702aeea691cb6d3d790;p=qmk_firmware.git

Fix for new API(key_t to keypos_t)
---

diff --git a/keyboard/hhkb/keymap_common.c b/keyboard/hhkb/keymap_common.c
index 67b3db85d..e938fb627 100644
--- a/keyboard/hhkb/keymap_common.c
+++ b/keyboard/hhkb/keymap_common.c
@@ -21,7 +21,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 
 /* 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)
 {
     return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]);
 }