summaryrefslogtreecommitdiffstats
path: root/keyboards/bm40hsrgb/bm40hsrgb.c
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-03-25 12:01:35 +0000
committerQMK Bot <hello@qmk.fm>2021-03-25 12:01:35 +0000
commit96a62143163869fce8d43170d94316dee2be967b (patch)
treeb9c007f330519f672fc921e45afa91a45a1441ca /keyboards/bm40hsrgb/bm40hsrgb.c
parentd2b405066d9e6d1cae2aa3e4aff97c2151db79dc (diff)
parent29c82cfb33bda7fecc58fa9eadfe56bd10af2c56 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/bm40hsrgb/bm40hsrgb.c')
-rwxr-xr-xkeyboards/bm40hsrgb/bm40hsrgb.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/keyboards/bm40hsrgb/bm40hsrgb.c b/keyboards/bm40hsrgb/bm40hsrgb.c
index a44263a8b8..a0ba84db3c 100755
--- a/keyboards/bm40hsrgb/bm40hsrgb.c
+++ b/keyboards/bm40hsrgb/bm40hsrgb.c
@@ -39,4 +39,15 @@ led_config_t g_led_config = {
2, 2, 2, 2, 2, 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