aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Grote2024-03-20 18:23:52 +0100
committerMichael Grote2024-08-05 14:44:36 +0200
commita651a831732990404af2aa3996889beee2c03596 (patch)
treec920d1a664cd4a0579f325565777bda1253fe9bc
parent86c40985ed4205b46cf2de3e5ae3be5d2cf97e44 (diff)
skeletyl: fix rgb timeout functions
-rw-r--r--keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c
index b9faaf21b3..aef18bc570 100644
--- a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c
+++ b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c
@@ -174,13 +174,13 @@ void refresh_rgb() {
if (is_rgb_timeout) { // only do something if rgb has timed out
print("Activity detected, removing timeout\n");
is_rgb_timeout = false;
- rgblight_wakeup();
+ rgb_matrix_enable_noeeprom();
}
}
void check_rgb_timeout() {
if (!is_rgb_timeout && timer_elapsed(key_timer) > RGBLIGHT_TIMEOUT) {
- rgblight_suspend();
+ rgb_matrix_disable_noeeprom();
is_rgb_timeout = true;
}
}