Skip to content

Commit

Permalink
REVERT ME: Move unicode.c, rgb.c, tap_dance.c to a subfolder in users…
Browse files Browse the repository at this point in the history
…pace

There's a conflicting `#include "unicode.h"` in quantum/keyboard.h (and other files), introduced by qmk#21659, which ends up including the userspace file instead of the intended core header
  • Loading branch information
vomindoraan committed Apr 18, 2024
1 parent 047e7cc commit fdc2839
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions users/konstantin/konstantin.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@

#include "quantum.h"
#if defined(RGBLIGHT_ENABLE) || defined(RGB_MATRIX_ENABLE)
#include "rgb.h"
#include "features/rgb.h"
#endif
#ifdef TAP_DANCE_ENABLE
#include "tap_dance.h"
#include "features/tap_dance.h"
#endif
#if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE)
#include "unicode.h"
#include "features/unicode.h"
#endif

#ifdef LAYER_NUMPAD
Expand Down
8 changes: 4 additions & 4 deletions users/konstantin/rules.mk
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
SRC += konstantin.c
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
SRC += rgb.c
SRC += features/rgb.c
endif
RGB_MATRIX_ENABLE ?= no
ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
SRC += rgb.c
SRC += features/rgb.c
endif
ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
SRC += tap_dance.c
SRC += features/tap_dance.c
endif
ifneq (,$(filter yes,$(UNICODE_ENABLE) $(UNICODEMAP_ENABLE)))
SRC += unicode.c
SRC += features/unicode.c
endif

ifneq ($(PLATFORM),CHIBIOS)
Expand Down

0 comments on commit fdc2839

Please sign in to comment.