summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-06-25 06:50:51 +0200
committertmk <nobody@nowhere>2014-07-30 07:38:25 +0200
commitea60dae6e69bd3b120f2f702aeea691cb6d3d790 (patch)
treeb0409619e411c3673fd7a676ea3f8f36d7035f18
parent54aee16a84eee27e816a89da5ca0dd3e9294cad9 (diff)
downloadqmk_firmware-ea60dae6e69bd3b120f2f702aeea691cb6d3d790.tar.gz
qmk_firmware-ea60dae6e69bd3b120f2f702aeea691cb6d3d790.tar.xz
Fix for new API(key_t to keypos_t)
-rw-r--r--keyboard/hhkb/keymap_common.c2
1 files changed, 1 insertions, 1 deletions
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)]);
}