diff options
author | Konstantin Đorđević <vomindoraan@gmail.com> | 2019-02-15 05:55:31 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-02-15 05:55:31 +0100 |
commit | d7754a19b97d65f878a3eaafe379db025bffd3bf (patch) | |
tree | 761e50ae73fec207ebf459837e456eba28618838 /quantum/process_keycode | |
parent | 3a3de84e40262a6cb19767740a4620f821625377 (diff) | |
download | qmk_firmware-d7754a19b97d65f878a3eaafe379db025bffd3bf.tar.gz qmk_firmware-d7754a19b97d65f878a3eaafe379db025bffd3bf.tar.xz |
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 @@ #include "process_unicodemap.h" #include "process_unicode_common.h" -__attribute__((weak)) -const uint32_t PROGMEM unicode_map[] = {}; - void register_hex32(uint32_t hex) { bool onzerostart = true; 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 @@ #include "quantum.h" #include "process_unicode_common.h" +extern const uint32_t PROGMEM unicode_map[]; + void unicodemap_input_error(void); bool process_unicodemap(uint16_t keycode, keyrecord_t *record); |