summaryrefslogtreecommitdiffstats
path: root/keyboards/planck
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2018-08-04 22:49:10 +0200
committerJack Humbert <jack.humb@gmail.com>2018-08-04 22:49:10 +0200
commit23d68d0ba12ced8b58b7e6225c3c1c5aa41a38d0 (patch)
treed84154646da69345ac40ead49f0351f606bde199 /keyboards/planck
parent435a1202e7575dba61bb9a48070ddc90ccda2993 (diff)
downloadqmk_firmware-23d68d0ba12ced8b58b7e6225c3c1c5aa41a38d0.tar.gz
qmk_firmware-23d68d0ba12ced8b58b7e6225c3c1c5aa41a38d0.tar.xz
Make sure Planck light calls user suspend functions (#3568)
* Make sure Planck light calls user suspend functions * Add suspend.h include to quantum.h for kb/user function compatibility
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/light/light.c2
1 files changed, 2 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)
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();
}