diff options
| -rw-r--r-- | docs/custom_quantum_functions.md | 4 | ||||
| -rw-r--r-- | docs/ja/custom_quantum_functions.md | 4 | ||||
| -rw-r--r-- | docs/zh-cn/custom_quantum_functions.md | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/docs/custom_quantum_functions.md b/docs/custom_quantum_functions.md index b0ed0f588..463366ff7 100644 --- a/docs/custom_quantum_functions.md +++ b/docs/custom_quantum_functions.md | |||
| @@ -214,11 +214,11 @@ This is controlled by two functions: `suspend_power_down_*` and `suspend_wakeup_ | |||
| 214 | 214 | ||
| 215 | ```c | 215 | ```c |
| 216 | void suspend_power_down_user(void) { | 216 | void suspend_power_down_user(void) { |
| 217 | rgb_matrix_set_suspend_state(true); | 217 | // code will run multiple times while keyboard is suspended |
| 218 | } | 218 | } |
| 219 | 219 | ||
| 220 | void suspend_wakeup_init_user(void) { | 220 | void suspend_wakeup_init_user(void) { |
| 221 | rgb_matrix_set_suspend_state(false); | 221 | // code will run on keyboard wakeup |
| 222 | } | 222 | } |
| 223 | ``` | 223 | ``` |
| 224 | 224 | ||
diff --git a/docs/ja/custom_quantum_functions.md b/docs/ja/custom_quantum_functions.md index c348f8556..bd3f15a5f 100644 --- a/docs/ja/custom_quantum_functions.md +++ b/docs/ja/custom_quantum_functions.md | |||
| @@ -211,11 +211,11 @@ void keyboard_post_init_user(void) { | |||
| 211 | 211 | ||
| 212 | ```c | 212 | ```c |
| 213 | void suspend_power_down_user(void) { | 213 | void suspend_power_down_user(void) { |
| 214 | rgb_matrix_set_suspend_state(true); | 214 | // code will run multiple times while keyboard is suspended |
| 215 | } | 215 | } |
| 216 | 216 | ||
| 217 | void suspend_wakeup_init_user(void) { | 217 | void suspend_wakeup_init_user(void) { |
| 218 | rgb_matrix_set_suspend_state(false); | 218 | // code will run on keyboard wakeup |
| 219 | } | 219 | } |
| 220 | ``` | 220 | ``` |
| 221 | 221 | ||
diff --git a/docs/zh-cn/custom_quantum_functions.md b/docs/zh-cn/custom_quantum_functions.md index 44cb5cf76..1ae996e39 100644 --- a/docs/zh-cn/custom_quantum_functions.md +++ b/docs/zh-cn/custom_quantum_functions.md | |||
| @@ -275,11 +275,11 @@ void keyboard_post_init_user(void) { | |||
| 275 | 275 | ||
| 276 | ```c | 276 | ```c |
| 277 | void suspend_power_down_user(void) { | 277 | void suspend_power_down_user(void) { |
| 278 | rgb_matrix_set_suspend_state(true); | 278 | // code will run multiple times while keyboard is suspended |
| 279 | } | 279 | } |
| 280 | 280 | ||
| 281 | void suspend_wakeup_init_user(void) { | 281 | void suspend_wakeup_init_user(void) { |
| 282 | rgb_matrix_set_suspend_state(false); | 282 | // code will run on keyboard wakeup |
| 283 | } | 283 | } |
| 284 | ``` | 284 | ``` |
| 285 | 285 | ||
