瀏覽代碼

Update led_conf_t example (#10327)

TJ 4 年之前
父節點
當前提交
bc15c4f4ab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/feature_rgb_matrix.md

+ 1 - 1
docs/feature_rgb_matrix.md

@@ -129,7 +129,7 @@ Configure the hardware via your `config.h`:
 From this point forward the configuration is the same for all the drivers. The `led_config_t` struct provides a key electrical matrix to led index lookup table, what the physical position of each LED is on the board, and what type of key or usage the LED if the LED represents. Here is a brief example:
 
 ```c
-const led_config_t g_led_config = { {
+led_config_t g_led_config = { {
   // Key Matrix to LED Index
   {   5, NO_LED, NO_LED,   0 },
   { NO_LED, NO_LED, NO_LED, NO_LED },