diff options
| author | QMK Bot <hello@qmk.fm> | 2021-09-21 23:40:56 +0000 |
|---|---|---|
| committer | QMK Bot <hello@qmk.fm> | 2021-09-21 23:40:56 +0000 |
| commit | 8670a3c86c644dd5d3f51b671e34bf914696be44 (patch) | |
| tree | 8639bc1f8c5739a8bd3d302920ab08fd2b5916a8 /docs/zh-cn/custom_quantum_functions.md | |
| parent | dd115fd50e967e2cd5a2d0657cb1359c63f1123d (diff) | |
| parent | 45f88af4a12938072f58d89769145c46a30fb38c (diff) | |
| download | qmk_firmware-8670a3c86c644dd5d3f51b671e34bf914696be44.tar.gz qmk_firmware-8670a3c86c644dd5d3f51b671e34bf914696be44.zip | |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'docs/zh-cn/custom_quantum_functions.md')
| -rw-r--r-- | docs/zh-cn/custom_quantum_functions.md | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||
