aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-02-15 11:55:13 +1100
committerGitHub <noreply@github.com>2021-02-15 11:55:13 +1100
commit9ee12820197f38f6618b78f92481f3ffd2d8b7e5 (patch)
treed3a35c71242cbfff2868ce85d5348ccb8a68a489 /docs
parent6f44c2ec31a6aeacd9e90060a9670be03be372fe (diff)
downloadqmk_firmware-9ee12820197f38f6618b78f92481f3ffd2d8b7e5.tar.gz
qmk_firmware-9ee12820197f38f6618b78f92481f3ffd2d8b7e5.zip
LED Matrix: rename `LED_DRIVER_LED_COUNT` to `DRIVER_LED_TOTAL` (#11858)
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_led_matrix.md4
-rw-r--r--docs/ja/feature_led_matrix.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/feature_led_matrix.md b/docs/feature_led_matrix.md
index 6de01f31a..f4a661634 100644
--- a/docs/feature_led_matrix.md
+++ b/docs/feature_led_matrix.md
@@ -22,7 +22,7 @@ You can use between 1 and 4 IS31FL3731 IC's. Do not specify `LED_DRIVER_ADDR_<N>
22| `ISSI_TIMEOUT` | (Optional) How long to wait for i2c messages | 100 | 22| `ISSI_TIMEOUT` | (Optional) How long to wait for i2c messages | 100 |
23| `ISSI_PERSISTENCE` | (Optional) Retry failed messages this many times | 0 | 23| `ISSI_PERSISTENCE` | (Optional) Retry failed messages this many times | 0 |
24| `LED_DRIVER_COUNT` | (Required) How many LED driver IC's are present | | 24| `LED_DRIVER_COUNT` | (Required) How many LED driver IC's are present | |
25| `LED_DRIVER_LED_COUNT` | (Required) How many LED lights are present across all drivers | | 25| `DRIVER_LED_TOTAL` | (Required) How many LED lights are present across all drivers | |
26| `LED_DRIVER_ADDR_1` | (Required) Address for the first LED driver | | 26| `LED_DRIVER_ADDR_1` | (Required) Address for the first LED driver | |
27| `LED_DRIVER_ADDR_2` | (Optional) Address for the second LED driver | | 27| `LED_DRIVER_ADDR_2` | (Optional) Address for the second LED driver | |
28| `LED_DRIVER_ADDR_3` | (Optional) Address for the third LED driver | | 28| `LED_DRIVER_ADDR_3` | (Optional) Address for the third LED driver | |
@@ -44,7 +44,7 @@ Here is an example using 2 drivers.
44#define LED_DRIVER_COUNT 2 44#define LED_DRIVER_COUNT 2
45#define LED_DRIVER_1_LED_COUNT 25 45#define LED_DRIVER_1_LED_COUNT 25
46#define LED_DRIVER_2_LED_COUNT 24 46#define LED_DRIVER_2_LED_COUNT 24
47#define LED_DRIVER_LED_COUNT LED_DRIVER_1_LED_TOTAL + LED_DRIVER_2_LED_TOTAL 47#define DRIVER_LED_TOTAL LED_DRIVER_1_LED_TOTAL + LED_DRIVER_2_LED_TOTAL
48``` 48```
49 49
50Currently only 2 drivers are supported, but it would be trivial to support all 4 combinations. 50Currently only 2 drivers are supported, but it would be trivial to support all 4 combinations.
diff --git a/docs/ja/feature_led_matrix.md b/docs/ja/feature_led_matrix.md
index 445aa73b7..b73487ca6 100644
--- a/docs/ja/feature_led_matrix.md
+++ b/docs/ja/feature_led_matrix.md
@@ -25,7 +25,7 @@ I2C IS31FL3731 RGB コントローラを使ったアドレス指定可能な LED
25| `ISSI_TIMEOUT` | (オプション) i2c メッセージを待つ時間 | 100 | 25| `ISSI_TIMEOUT` | (オプション) i2c メッセージを待つ時間 | 100 |
26| `ISSI_PERSISTENCE` | (オプション) 失敗したメッセージをこの回数再試行する | 0 | 26| `ISSI_PERSISTENCE` | (オプション) 失敗したメッセージをこの回数再試行する | 0 |
27| `LED_DRIVER_COUNT` | (必須) LED ドライバ IC の数 | | 27| `LED_DRIVER_COUNT` | (必須) LED ドライバ IC の数 | |
28| `LED_DRIVER_LED_COUNT` | (必須) 全てのドライバの LED ライトの数 | | 28| `DRIVER_LED_TOTAL` | (必須) 全てのドライバの LED ライトの数 | |
29| `LED_DRIVER_ADDR_1` | (必須) 最初の LED ドライバのアドレス | | 29| `LED_DRIVER_ADDR_1` | (必須) 最初の LED ドライバのアドレス | |
30| `LED_DRIVER_ADDR_2` | (オプション) 2番目の LED ドライバのアドレス | | 30| `LED_DRIVER_ADDR_2` | (オプション) 2番目の LED ドライバのアドレス | |
31| `LED_DRIVER_ADDR_3` | (オプション) 3番目の LED ドライバのアドレス | | 31| `LED_DRIVER_ADDR_3` | (オプション) 3番目の LED ドライバのアドレス | |
@@ -46,7 +46,7 @@ I2C IS31FL3731 RGB コントローラを使ったアドレス指定可能な LED
46 #define LED_DRIVER_COUNT 2 46 #define LED_DRIVER_COUNT 2
47 #define LED_DRIVER_1_LED_COUNT 25 47 #define LED_DRIVER_1_LED_COUNT 25
48 #define LED_DRIVER_2_LED_COUNT 24 48 #define LED_DRIVER_2_LED_COUNT 24
49 #define LED_DRIVER_LED_COUNT LED_DRIVER_1_LED_TOTAL + LED_DRIVER_2_LED_TOTAL 49 #define DRIVER_LED_TOTAL LED_DRIVER_1_LED_TOTAL + LED_DRIVER_2_LED_TOTAL
50 50
51現在、2つのドライバのみがサポートされますが、4つの組み合わせ全てをサポートすることは簡単です。 51現在、2つのドライバのみがサポートされますが、4つの組み合わせ全てをサポートすることは簡単です。
52 52