diff options
author | Dasky <32983009+daskygit@users.noreply.github.com> | 2021-09-22 00:40:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 16:40:19 -0700 |
commit | 45f88af4a12938072f58d89769145c46a30fb38c (patch) | |
tree | d7993f7bc01bd9eac5a7d6c5dc7dafb43f49d5df /docs/ja | |
parent | bb754069e95237bec69cc23845e2515eea5f33e4 (diff) | |
download | qmk_firmware-45f88af4a12938072f58d89769145c46a30fb38c.tar.gz qmk_firmware-45f88af4a12938072f58d89769145c46a30fb38c.zip |
[Docs] update suspend_*_user examples (#14542)
Diffstat (limited to 'docs/ja')
-rw-r--r-- | docs/ja/custom_quantum_functions.md | 4 |
1 files changed, 2 insertions, 2 deletions
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 | ||