summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorstanrc85 <47038504+stanrc85@users.noreply.github.com>2021-10-15 22:00:19 -0400
committerGitHub <noreply@github.com>2021-10-15 19:00:19 -0700
commit8bb1fd04d4d4501a7bc1312e10d1fa639851fd8f (patch)
treeebc9356d9658512571197b60af62e3d991baf65c /users
parentc8b00b2e913bac3d7ad495f6a00cfc30b65952c7 (diff)
[Keymap] Userspace updates (#14832)
Diffstat (limited to 'users')
-rw-r--r--users/stanrc85/rgblight_layers_osa.c4
-rw-r--r--users/stanrc85/rules.mk1
2 files changed, 3 insertions, 2 deletions
diff --git a/users/stanrc85/rgblight_layers_osa.c b/users/stanrc85/rgblight_layers_osa.c
index 59366fa34a..aff96c9699 100644
--- a/users/stanrc85/rgblight_layers_osa.c
+++ b/users/stanrc85/rgblight_layers_osa.c
@@ -11,7 +11,7 @@ const rgblight_segment_t PROGMEM my_capslock_layer[] = RGBLIGHT_LAYER_SEGMENTS(
const rgblight_segment_t PROGMEM my_layer1_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{2, 2, HSV_GREEN},
{6, 2, HSV_GREEN}
-);
+);
const rgblight_segment_t PROGMEM my_layer2_layer[] = RGBLIGHT_LAYER_SEGMENTS(
{2, 2, HSV_BLUE},
@@ -60,7 +60,7 @@ layer_state_t layer_state_set_user(layer_state_t state) {
}
bool led_update_user(led_t led_state) {
- //rgblight_set_layer_state(0, led_state.caps_lock);
+ rgblight_set_layer_state(0, led_state.caps_lock);
writePin(C7, led_state.caps_lock);
writePin(C6, middle);
writePin(B6, bottom);
diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk
index cafda97b1a..d17f2df007 100644
--- a/users/stanrc85/rules.mk
+++ b/users/stanrc85/rules.mk
@@ -26,6 +26,7 @@ endif
ifeq ($(strip $(KEYBOARD)), tkc/osav2)
SRC += rgblight_layers_osa.c
VELOCIKEY_ENABLE=yes
+ SRC += rgb_timeout.c
endif
ifeq ($(strip $(KEYBOARD)), boardsource/the_mark)
RGB_MATRIX_ENABLE = yes