Browse Source

docs: fix typo in led matrix docs (#15972)

Gigahawk 3 years ago
parent
commit
ad09160b03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/feature_led_matrix.md

+ 1 - 1
docs/feature_led_matrix.md

@@ -333,7 +333,7 @@ Where `28` is an unused index from `eeconfig.h`.
 If you want to set custom indicators, such as an LED for Caps Lock, or layer indication, you can use the `led_matrix_indicators_kb` or `led_matrix_indicators_user` function for that: 
 If you want to set custom indicators, such as an LED for Caps Lock, or layer indication, you can use the `led_matrix_indicators_kb` or `led_matrix_indicators_user` function for that: 
 ```c
 ```c
 void led_matrix_indicators_kb(void) {
 void led_matrix_indicators_kb(void) {
-    led_matrix_set_color(index, value);
+    led_matrix_set_value(index, value);
 }
 }
 ```
 ```