diff options
| author | QMK Bot <hello@qmk.fm> | 2021-03-12 07:04:21 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-03-12 07:04:21 +0000 |
| commit | 71f8f5048b0c583893e26b7a419f40de58c11891 (patch) | |
| tree | 411fe6f77f735e72365200d1dec03451051b5e1e /quantum/process_keycode | |
| parent | 183c49f3522e948c541ee0cc63997f438994c534 (diff) | |
| parent | 88dce243750d9e80948cd7262566182018d7bbdf (diff) | |
| download | qmk_firmware-71f8f5048b0c583893e26b7a419f40de58c11891.tar.gz qmk_firmware-71f8f5048b0c583893e26b7a419f40de58c11891.zip | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum/process_keycode')
| -rw-r--r-- | quantum/process_keycode/process_unicode_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/quantum/process_keycode/process_unicode_common.c b/quantum/process_keycode/process_unicode_common.c index bac9fbcc0..46fcaaa86 100644 --- a/quantum/process_keycode/process_unicode_common.c +++ b/quantum/process_keycode/process_unicode_common.c | |||
| @@ -158,7 +158,7 @@ __attribute__((weak)) void unicode_input_cancel(void) { | |||
| 158 | void register_hex(uint16_t hex) { | 158 | void register_hex(uint16_t hex) { |
| 159 | for (int i = 3; i >= 0; i--) { | 159 | for (int i = 3; i >= 0; i--) { |
| 160 | uint8_t digit = ((hex >> (i * 4)) & 0xF); | 160 | uint8_t digit = ((hex >> (i * 4)) & 0xF); |
| 161 | tap_code16(hex_to_keycode(digit)); | 161 | send_nibble(digit); |
| 162 | } | 162 | } |
| 163 | } | 163 | } |
| 164 | 164 | ||
| @@ -171,10 +171,10 @@ void register_hex32(uint32_t hex) { | |||
| 171 | uint8_t digit = ((hex >> (i * 4)) & 0xF); | 171 | uint8_t digit = ((hex >> (i * 4)) & 0xF); |
| 172 | if (digit == 0) { | 172 | if (digit == 0) { |
| 173 | if (!onzerostart) { | 173 | if (!onzerostart) { |
| 174 | tap_code16(hex_to_keycode(digit)); | 174 | send_nibble(digit); |
| 175 | } | 175 | } |
| 176 | } else { | 176 | } else { |
| 177 | tap_code16(hex_to_keycode(digit)); | 177 | send_nibble(digit); |
| 178 | onzerostart = false; | 178 | onzerostart = false; |
| 179 | } | 179 | } |
| 180 | } | 180 | } |
