summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-12-20 13:31:39 +1100
committerGitHub <noreply@github.com>2023-12-20 13:31:39 +1100
commit73758d3d3a3bbee76bd1c9946d4c663c28f166f0 (patch)
treee95d82b5b125d1aba00cc366730ff5e6aab5992e /docs
parentb9e81c06911a4e3345acf09cd499a9661eea67b8 (diff)
Rename `LED_DISABLE_WHEN_USB_SUSPENDED` -> `LED_MATRIX_SLEEP` (#22681)
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_led_matrix.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_led_matrix.md b/docs/feature_led_matrix.md
index d803fcf101..9b23ce8884 100644
--- a/docs/feature_led_matrix.md
+++ b/docs/feature_led_matrix.md
@@ -357,7 +357,7 @@ For inspiration and examples, check out the built-in effects under `quantum/led_
```c
#define LED_MATRIX_KEYRELEASES // reactive effects respond to keyreleases (instead of keypresses)
#define LED_MATRIX_TIMEOUT 0 // number of milliseconds to wait until led automatically turns off
-#define LED_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
+#define LED_MATRIX_SLEEP // turn off effects when suspended
#define LED_MATRIX_LED_PROCESS_LIMIT (LED_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
#define LED_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
#define LED_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs