diff options
Diffstat (limited to 'docs/custom_quantum_functions.md')
-rw-r--r-- | docs/custom_quantum_functions.md | 4 |
1 files changed, 2 insertions, 2 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 | ||