diff options
author | rai-suta <sn0425.flv+github@gmail.com> | 2017-06-25 17:24:32 +0200 |
---|---|---|
committer | rai-suta <sn0425.flv+github@gmail.com> | 2017-06-25 17:24:32 +0200 |
commit | e740520b3fe8fdeebd087fe6b7390582661f86f8 (patch) | |
tree | 09cc1fa47f2d754049d364275e6e3eb4b8e981f2 | |
parent | 169ede07155764deb6a559f0438b1b7fa7138bef (diff) | |
download | qmk_firmware-e740520b3fe8fdeebd087fe6b7390582661f86f8.tar.gz qmk_firmware-e740520b3fe8fdeebd087fe6b7390582661f86f8.tar.xz |
Fix bug.
-rw-r--r-- | quantum/quantum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 3b5e52ff1..5bb7b04d5 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) ); |