summaryrefslogtreecommitdiff
path: root/users/stanrc85
diff options
context:
space:
mode:
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>2022-07-03 17:25:09 -0400
committerGitHub <noreply@github.com>2022-07-03 14:25:09 -0700
commitb7fee11e343be1f25c745800c39fa64c5f1b7d55 (patch)
treebda24633f65c8cba9128ff4ce302f2fe4163f510 /users/stanrc85
parent168a63172010924a7a00dc1bc9e6a3c510e8ce5a (diff)
[Userspace] Add support for additional Mechlovin Adelais PCB version to my userspace (#17547)
Diffstat (limited to 'users/stanrc85')
-rw-r--r--users/stanrc85/config.h2
-rw-r--r--users/stanrc85/rules.mk5
2 files changed, 6 insertions, 1 deletions
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