diff options
author | rai-suta <sn0425.flv+github@gmail.com> | 2017-06-26 00:24:32 +0900 |
---|---|---|
committer | rai-suta <sn0425.flv+github@gmail.com> | 2017-06-26 00:24:32 +0900 |
commit | e740520b3fe8fdeebd087fe6b7390582661f86f8 (patch) | |
tree | 09cc1fa47f2d754049d364275e6e3eb4b8e981f2 | |
parent | 169ede07155764deb6a559f0438b1b7fa7138bef (diff) | |
download | qmk_firmware-e740520b3fe8fdeebd087fe6b7390582661f86f8.tar.gz qmk_firmware-e740520b3fe8fdeebd087fe6b7390582661f86f8.zip |
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 3b5e52ff12..5bb7b04d53 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) ); |