From cda497e5ac83c5a46fba4a45ece71ffe7ffd5d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Mon, 2 Jan 2017 21:14:44 +0100 Subject: [PATCH] Write key instead of k. --- right/src/action.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/right/src/action.c b/right/src/action.c index d0cf123..92f5ddb 100644 --- a/right/src/action.c +++ b/right/src/action.c @@ -16,10 +16,10 @@ static inline __attribute__((always_inline)) uhk_key_t getKeycode(uint8_t slotId return (uhk_key_t){.type = UHK_KEY_NONE}; } - uhk_key_t k = CurrentKeymap[ActiveLayer][slotId][keyId]; + uhk_key_t key = CurrentKeymap[ActiveLayer][slotId][keyId]; keyMasks[slotId][keyId] = ActiveLayer; - return k; + return key; } else { return (uhk_key_t){.type = UHK_KEY_NONE}; }