From fb6b85afadb67557d382c0e5660c2a77b01a1eea Mon Sep 17 00:00:00 2001 From: drashna Date: Tue, 21 Sep 2021 23:42:09 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20master=20@?= =?UTF-8?q?=2045f88af4a12938072f58d89769145c46a30fb38c=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom_quantum_functions.md | 4 ++-- ja/custom_quantum_functions.md | 4 ++-- zh-cn/custom_quantum_functions.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/custom_quantum_functions.md b/custom_quantum_functions.md index b0ed0f588d..463366ff76 100644 --- a/custom_quantum_functions.md +++ b/custom_quantum_functions.md @@ -214,11 +214,11 @@ This is controlled by two functions: `suspend_power_down_*` and `suspend_wakeup_ ```c void suspend_power_down_user(void) { - rgb_matrix_set_suspend_state(true); + // code will run multiple times while keyboard is suspended } void suspend_wakeup_init_user(void) { - rgb_matrix_set_suspend_state(false); + // code will run on keyboard wakeup } ``` diff --git a/ja/custom_quantum_functions.md b/ja/custom_quantum_functions.md index c348f85566..bd3f15a5fd 100644 --- a/ja/custom_quantum_functions.md +++ b/ja/custom_quantum_functions.md @@ -211,11 +211,11 @@ void keyboard_post_init_user(void) { ```c void suspend_power_down_user(void) { - rgb_matrix_set_suspend_state(true); + // code will run multiple times while keyboard is suspended } void suspend_wakeup_init_user(void) { - rgb_matrix_set_suspend_state(false); + // code will run on keyboard wakeup } ``` diff --git a/zh-cn/custom_quantum_functions.md b/zh-cn/custom_quantum_functions.md index 44cb5cf76d..1ae996e392 100644 --- a/zh-cn/custom_quantum_functions.md +++ b/zh-cn/custom_quantum_functions.md @@ -275,11 +275,11 @@ void keyboard_post_init_user(void) { ```c void suspend_power_down_user(void) { - rgb_matrix_set_suspend_state(true); + // code will run multiple times while keyboard is suspended } void suspend_wakeup_init_user(void) { - rgb_matrix_set_suspend_state(false); + // code will run on keyboard wakeup } ```