From 5e03a760f033cf90f2186d8391f913ff928f7fd2 Mon Sep 17 00:00:00 2001 From: Xelus22 Date: Sun, 30 Apr 2023 12:39:18 +1000 Subject: [PATCH 1/2] fix up typo --- docs/feature_rgb_matrix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/feature_rgb_matrix.md b/docs/feature_rgb_matrix.md index 49d2fd9e9952..9e3d57fcd99a 100644 --- a/docs/feature_rgb_matrix.md +++ b/docs/feature_rgb_matrix.md @@ -158,7 +158,7 @@ Where `X_Y` is the location of the LED in the matrix defined by [the datasheet]( --- ### IS31FL3736 :id=is31fl3736 -There is basic support for addressable RGB matrix lighting with the I2C IS31FL3737 RGB controller. To enable it, add this to your `rules.mk`: +There is basic support for addressable RGB matrix lighting with the I2C IS31FL3736 RGB controller. To enable it, add this to your `rules.mk`: ```make RGB_MATRIX_ENABLE = yes From b45e707d02ec594a85d5b66f2504b19928ac477d Mon Sep 17 00:00:00 2001 From: Xelus22 Date: Sun, 30 Apr 2023 12:41:28 +1000 Subject: [PATCH 2/2] fix up numebr --- docs/feature_rgb_matrix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/feature_rgb_matrix.md b/docs/feature_rgb_matrix.md index 9e3d57fcd99a..de36f95fb78d 100644 --- a/docs/feature_rgb_matrix.md +++ b/docs/feature_rgb_matrix.md @@ -213,7 +213,7 @@ Here is an example using 2 drivers. #define DRIVER_COUNT 2 #define DRIVER_1_LED_TOTAL 30 -#define DRIVER_2_LED_TOTAL 36 +#define DRIVER_2_LED_TOTAL 32 #define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL) ``` !> Note the parentheses, this is so when `RGB_MATRIX_LED_COUNT` is used in code and expanded, the values are added together before any additional math is applied to them. As an example, `rand() % (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)` will give very different results than `rand() % DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL`.