]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Remove problematic unicode_map stub definition in process_unicodemap.c (#5110)
authorKonstantin Đorđević <vomindoraan@gmail.com>
Fri, 15 Feb 2019 04:55:31 +0000 (05:55 +0100)
committerDrashna Jaelre <drashna@live.com>
Fri, 15 Feb 2019 04:55:31 +0000 (20:55 -0800)
* 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

keyboards/converter/ibm_terminal/keymaps/default/rules.mk
keyboards/converter/ibm_terminal/rules.mk
keyboards/converter/palm_usb/rules.mk
keyboards/converter/sun_usb/rules.mk
quantum/process_keycode/process_unicodemap.c
quantum/process_keycode/process_unicodemap.h

index 76d349920fc71eddc9d7ee675322c65291db77c5..8ff0950472002b4bacc379d233da7d335304ba2e 100644 (file)
@@ -12,9 +12,8 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 MIDI_ENABLE = no            # MIDI controls
 AUDIO_ENABLE = no           # Audio output on port C6
 UNICODE_ENABLE = no         # Unicode
-UNICODEMAP_ENABLE = yes
 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
-RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight. 
+RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.
 PS2_USE_USART = yes
 API_SYSEX_ENABLE = no
 
index 3fa8792464c8c5b9b3f3bd788109ba21a0b178b7..a48038ccde230b90f0a9447d4e4644db2f2e84e2 100644 (file)
@@ -58,7 +58,6 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 MIDI_ENABLE = no            # MIDI controls
 AUDIO_ENABLE = no           # Audio output on port C6
 UNICODE_ENABLE = no         # Unicode
-UNICODEMAP_ENABLE = yes
 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
 RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.
 PS2_USE_USART = yes
index 8dfc2ca4d719462a160cc51800b24ee5ce2f11f0..7374fd955f96d31e05bae4d80c3f54a8f3b25ba1 100644 (file)
@@ -22,7 +22,6 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 MIDI_ENABLE = no            # MIDI controls
 AUDIO_ENABLE = no           # Audio output on port C6
 UNICODE_ENABLE = no         # Unicode
-UNICODEMAP_ENABLE = no
 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
 RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.
 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
index 22311c3d4c73cf2e506206a4da1e983972ec10e2..db6b5c7ee406fb8f22b531f9eec3ea57885ac03e 100644 (file)
@@ -22,7 +22,6 @@ BACKLIGHT_ENABLE = no       # Enable keyboard backlight functionality
 MIDI_ENABLE = no            # MIDI controls
 AUDIO_ENABLE = no           # Audio output on port C6
 UNICODE_ENABLE = no         # Unicode
-UNICODEMAP_ENABLE = yes
 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
 RGBLIGHT_ENABLE = no        # Enable WS2812 RGB underlight.
 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
index cee9acb5fcc1a14e63766c604b23ff323e66d704..32740276130ca4f71e83d601c25fc46f0456b72e 100644 (file)
@@ -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--) {
index 5764697f84ca32deb4d2042d4e07746c9a6d5b67..fe4f979155e3385d8c6e38852f9f28790c8c5dad 100644 (file)
@@ -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);