aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/planck/light/light.c2
-rw-r--r--quantum/quantum.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/planck/light/light.c b/keyboards/planck/light/light.c
index cef57c5e6..f463090dd 100644
--- a/keyboards/planck/light/light.c
+++ b/keyboards/planck/light/light.c
@@ -159,10 +159,12 @@ void matrix_scan_kb(void)
159void suspend_power_down_kb(void) 159void suspend_power_down_kb(void)
160{ 160{
161 rgb_matrix_set_suspend_state(true); 161 rgb_matrix_set_suspend_state(true);
162 suspend_power_down_user();
162} 163}
163 164
164void suspend_wakeup_init_kb(void) 165void suspend_wakeup_init_kb(void)
165{ 166{
166 rgb_matrix_set_suspend_state(false); 167 rgb_matrix_set_suspend_state(false);
168 suspend_wakeup_init_user();
167} 169}
168 170
diff --git a/quantum/quantum.h b/quantum/quantum.h
index 855a51c1b..1db9846f0 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -53,6 +53,7 @@
53#include <stdlib.h> 53#include <stdlib.h>
54#include "print.h" 54#include "print.h"
55#include "send_string_keycodes.h" 55#include "send_string_keycodes.h"
56#include "suspend.h"
56 57
57extern uint32_t default_layer_state; 58extern uint32_t default_layer_state;
58 59