]> git.donarmstrong.com Git - qmk_firmware.git/commit
quantum: Move qk_ucis_state to process_unicode.c
authorGergely Nagy <algernon@madhouse-project.org>
Wed, 24 Aug 2016 13:39:23 +0000 (15:39 +0200)
committerGergely Nagy <algernon@madhouse-project.org>
Wed, 24 Aug 2016 13:39:23 +0000 (15:39 +0200)
commita058ae40e268b34ba5db45f5fd5d557d50fa5437
tree98cbba5d9b9d304e8bcc9384d418f71a1d2b8f0a
parenta9205484718ab2a74bc97884a2ea7b95882ed66d
quantum: Move qk_ucis_state to process_unicode.c

In order to not declare the same variable in multiple objects (which
happens when building UCIS-enabled keymap for both the ErgoDox EZ and
the ErgoDox Infinity), move the declaration to the .c file, and keep
only an extern reference in the header.

Many thanks to @fredizzimo for spotting the error in Travis, and
suggesting the fix.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
quantum/process_keycode/process_unicode.c
quantum/process_keycode/process_unicode.h