Fix bug.
This commit is contained in:
parent
169ede0715
commit
e740520b3f
1 changed files with 1 additions and 1 deletions
|
@ -530,7 +530,7 @@ void send_string(const char *str) {
|
||||||
shift = false;
|
shift = false;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
int hi = ascii_code>>4 & 0x0f;
|
int hi = ascii_code>>4 & 0x0f,
|
||||||
lo = ascii_code & 0x0f;
|
lo = ascii_code & 0x0f;
|
||||||
keycode = pgm_read_byte(&ascii_to_keycode_lut[hi][lo]);
|
keycode = pgm_read_byte(&ascii_to_keycode_lut[hi][lo]);
|
||||||
shift = !!( pgm_read_word(&ascii_to_shift_lut[hi]) & (0x8000u>>lo) );
|
shift = !!( pgm_read_word(&ascii_to_shift_lut[hi]) & (0x8000u>>lo) );
|
||||||
|
|
Loading…
Reference in a new issue