From e740520b3fe8fdeebd087fe6b7390582661f86f8 Mon Sep 17 00:00:00 2001 From: rai-suta Date: Mon, 26 Jun 2017 00:24:32 +0900 Subject: [PATCH] Fix bug. --- quantum/quantum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantum/quantum.c b/quantum/quantum.c index 3b5e52ff..5bb7b04d 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -530,7 +530,7 @@ void send_string(const char *str) { shift = false; } else { - int hi = ascii_code>>4 & 0x0f; + int hi = ascii_code>>4 & 0x0f, lo = ascii_code & 0x0f; keycode = pgm_read_byte(&ascii_to_keycode_lut[hi][lo]); shift = !!( pgm_read_word(&ascii_to_shift_lut[hi]) & (0x8000u>>lo) );