diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-02-15 05:55:31 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-02-14 20:55:31 -0800 |
commit | d7754a19b97d65f878a3eaafe379db025bffd3bf (patch) | |
tree | 761e50ae73fec207ebf459837e456eba28618838 /quantum/process_keycode | |
parent | 3a3de84e40262a6cb19767740a4620f821625377 (diff) | |
download | qmk_firmware-d7754a19b97d65f878a3eaafe379db025bffd3bf.tar.gz qmk_firmware-d7754a19b97d65f878a3eaafe379db025bffd3bf.zip |
Remove problematic unicode_map stub definition in process_unicodemap.c (#5110)
* Remove problematic unicode_map stub definition in process_unicodemap.c
* Add unicode_map declaration to process_unicodemap.h
* Disable UNICODEMAP on converter boards that don't use it
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r-- | quantum/process_keycode/process_unicodemap.c | 3 | ||||
-rw-r--r-- | quantum/process_keycode/process_unicodemap.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/quantum/process_keycode/process_unicodemap.c b/quantum/process_keycode/process_unicodemap.c index cee9acb5f..327402761 100644 --- a/quantum/process_keycode/process_unicodemap.c +++ b/quantum/process_keycode/process_unicodemap.c | |||
@@ -17,9 +17,6 @@ | |||
17 | #include "process_unicodemap.h" | 17 | #include "process_unicodemap.h" |
18 | #include "process_unicode_common.h" | 18 | #include "process_unicode_common.h" |
19 | 19 | ||
20 | __attribute__((weak)) | ||
21 | const uint32_t PROGMEM unicode_map[] = {}; | ||
22 | |||
23 | void register_hex32(uint32_t hex) { | 20 | void register_hex32(uint32_t hex) { |
24 | bool onzerostart = true; | 21 | bool onzerostart = true; |
25 | for(int i = 7; i >= 0; i--) { | 22 | for(int i = 7; i >= 0; i--) { |
diff --git a/quantum/process_keycode/process_unicodemap.h b/quantum/process_keycode/process_unicodemap.h index 5764697f8..fe4f97915 100644 --- a/quantum/process_keycode/process_unicodemap.h +++ b/quantum/process_keycode/process_unicodemap.h | |||
@@ -19,5 +19,7 @@ | |||
19 | #include "quantum.h" | 19 | #include "quantum.h" |
20 | #include "process_unicode_common.h" | 20 | #include "process_unicode_common.h" |
21 | 21 | ||
22 | extern const uint32_t PROGMEM unicode_map[]; | ||
23 | |||
22 | void unicodemap_input_error(void); | 24 | void unicodemap_input_error(void); |
23 | bool process_unicodemap(uint16_t keycode, keyrecord_t *record); | 25 | bool process_unicodemap(uint16_t keycode, keyrecord_t *record); |