From b7fee11e343be1f25c745800c39fa64c5f1b7d55 Mon Sep 17 00:00:00 2001 From: stanrc85 <47038504+stanrc85@users.noreply.github.com> Date: Sun, 3 Jul 2022 17:25:09 -0400 Subject: [Userspace] Add support for additional Mechlovin Adelais PCB version to my userspace (#17547) --- users/stanrc85/config.h | 2 +- users/stanrc85/rules.mk | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'users') diff --git a/users/stanrc85/config.h b/users/stanrc85/config.h index 275b368d0a..d9600b8b3c 100644 --- a/users/stanrc85/config.h +++ b/users/stanrc85/config.h @@ -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 diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk index f73e70ffdb..141b4581a4 100644 --- a/users/stanrc85/rules.mk +++ b/users/stanrc85/rules.mk @@ -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 -- cgit v1.2.3