Skip to content

Commit

Permalink
[Userspace] Add support for additional Mechlovin Adelais PCB version …
Browse files Browse the repository at this point in the history
…to my userspace (#17547)
  • Loading branch information
stanrc85 authored Jul 3, 2022
1 parent 168a631 commit b7fee11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion users/stanrc85/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define INDICATOR_PIN_2 D4
#endif

#ifdef KEYBOARD_mechlovin_adelais_standard_led_arm_rev4_stm32f303
#if defined(KEYBOARD_mechlovin_adelais_standard_led_arm_rev4_stm32f303) || defined(KEYBOARD_mechlovin_adelais_standard_led_arm_rev4_apm32f103)
#define INDICATOR_PIN_0 B2
#define INDICATOR_PIN_1 C15
#define INDICATOR_PIN_2 B9
Expand Down
5 changes: 5 additions & 0 deletions users/stanrc85/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,8 @@ ifeq ($(strip $(KEYBOARD)), nasu)
SRC += startup_fanfare.c
OPT_DEFS += -DHAS_INDICATORS
endif
ifeq ($(strip $(KEYBOARD)), mechlovin/adelais/standard_led/arm/rev4/apm32f103)
OPT_DEFS += -DHAS_INDICATORS
SRC += rgb_timeout.c
SRC += indicator_layers_sneakbox.c
endif

0 comments on commit b7fee11

Please sign in to comment.