summaryrefslogtreecommitdiff
path: root/keyboards/planck/rev6/rev6.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/rev6/rev6.c')
-rw-r--r--keyboards/planck/rev6/rev6.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/keyboards/planck/rev6/rev6.c b/keyboards/planck/rev6/rev6.c
index 3074f8c20f..4f2ff86812 100644
--- a/keyboards/planck/rev6/rev6.c
+++ b/keyboards/planck/rev6/rev6.c
@@ -39,6 +39,16 @@ led_config_t g_led_config = { {
// 6 5 4 3
// 0
// 7 8 1 2
+
+void suspend_power_down_kb(void) {
+ rgb_matrix_set_suspend_state(true);
+ suspend_power_down_user();
+}
+
+void suspend_wakeup_init_kb(void) {
+ rgb_matrix_set_suspend_state(false);
+ suspend_wakeup_init_user();
+}
#endif
void matrix_init_kb(void) {