[Userspace] Add support for additional Mechlovin Adelais PCB version to my userspace (#17547)

This commit is contained in:
stanrc85 2022-07-03 17:25:09 -04:00 committed by GitHub
parent 168a631720
commit b7fee11e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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