summaryrefslogtreecommitdiff
path: root/quantum/process_keycode
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2019-02-15 05:55:31 +0100
committerDrashna Jaelre <drashna@live.com>2019-02-14 20:55:31 -0800
commitd7754a19b97d65f878a3eaafe379db025bffd3bf (patch)
tree761e50ae73fec207ebf459837e456eba28618838 /quantum/process_keycode
parent3a3de84e40262a6cb19767740a4620f821625377 (diff)
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.c3
-rw-r--r--quantum/process_keycode/process_unicodemap.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/quantum/process_keycode/process_unicodemap.c b/quantum/process_keycode/process_unicodemap.c
index cee9acb5fc..3274027613 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 5764697f84..fe4f979155 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);