diff options
author | Nick Brassel <nick@tzarc.org> | 2021-01-18 05:12:15 +1100 |
---|---|---|
committer | Zach White <skullydazed@drpepper.org> | 2021-01-17 10:19:56 -0800 |
commit | 31c57aab35e6fd49c4c8336f449419afe7630e93 (patch) | |
tree | 60b3508af9b3a953826d027a2dc6f2e2d028d1cc /quantum/quantum.c | |
parent | e702c7f1b4cfa8fe1579498ef2877994baa64056 (diff) |
`qmk cformat`
Diffstat (limited to 'quantum/quantum.c')
-rw-r--r-- | quantum/quantum.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index ece0388d32..8db801f195 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c @@ -551,10 +551,10 @@ void send_char(char ascii_code) { } #endif - uint8_t keycode = pgm_read_byte(&ascii_to_keycode_lut[(uint8_t)ascii_code]); - bool is_shifted = PGM_LOADBIT(ascii_to_shift_lut, (uint8_t)ascii_code); - bool is_altgred = PGM_LOADBIT(ascii_to_altgr_lut, (uint8_t)ascii_code); - bool is_dead = PGM_LOADBIT(ascii_to_dead_lut, (uint8_t)ascii_code); + uint8_t keycode = pgm_read_byte(&ascii_to_keycode_lut[(uint8_t)ascii_code]); + bool is_shifted = PGM_LOADBIT(ascii_to_shift_lut, (uint8_t)ascii_code); + bool is_altgred = PGM_LOADBIT(ascii_to_altgr_lut, (uint8_t)ascii_code); + bool is_dead = PGM_LOADBIT(ascii_to_dead_lut, (uint8_t)ascii_code); if (is_shifted) { register_code(KC_LSFT); |