Declare Unicode method hex_to_keycode() as “weak”

Declare Unicode method hex_to_keycode() as “weak” to be able to override it in keymaps.
This commit is contained in:
coderkun 2016-10-02 10:35:09 +02:00
parent 35e6870e5c
commit a3f5a4cf58

View File

@ -2,6 +2,7 @@
static uint8_t input_mode; static uint8_t input_mode;
__attribute__((weak))
uint16_t hex_to_keycode(uint8_t hex) uint16_t hex_to_keycode(uint8_t hex)
{ {
if (hex == 0x0) { if (hex == 0x0) {