diff options
Diffstat (limited to 'docs/feature_rgb_matrix.md')
-rw-r--r-- | docs/feature_rgb_matrix.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/feature_rgb_matrix.md b/docs/feature_rgb_matrix.md index d3d740c1b..d07c02e18 100644 --- a/docs/feature_rgb_matrix.md +++ b/docs/feature_rgb_matrix.md | |||
@@ -55,7 +55,7 @@ For split keyboards using `RGB_MATRIX_SPLIT` with an LED driver, you can either | |||
55 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 55 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
56 | 56 | ||
57 | ```c | 57 | ```c |
58 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 58 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
59 | /* Refer to IS31 manual for these locations | 59 | /* Refer to IS31 manual for these locations |
60 | * driver | 60 | * driver |
61 | * | R location | 61 | * | R location |
@@ -140,7 +140,7 @@ Currently only 4 drivers are supported, but it would be trivial to support all 8 | |||
140 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 140 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
141 | 141 | ||
142 | ```c | 142 | ```c |
143 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 143 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
144 | /* Refer to IS31 manual for these locations | 144 | /* Refer to IS31 manual for these locations |
145 | * driver | 145 | * driver |
146 | * | R location | 146 | * | R location |
@@ -218,7 +218,7 @@ Currently only 2 drivers are supported, but it would be trivial to support all 4 | |||
218 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 218 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
219 | 219 | ||
220 | ```c | 220 | ```c |
221 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 221 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
222 | /* Refer to IS31 manual for these locations | 222 | /* Refer to IS31 manual for these locations |
223 | * driver | 223 | * driver |
224 | * | R location | 224 | * | R location |
@@ -319,7 +319,7 @@ Here is an example using 2 drivers. | |||
319 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 319 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
320 | 320 | ||
321 | ```c | 321 | ```c |
322 | const aw_led __flash g_aw_leds[DRIVER_LED_TOTAL] = { | 322 | const aw_led PROGMEM g_aw_leds[DRIVER_LED_TOTAL] = { |
323 | /* Each AW20216 channel is controlled by a register at some offset between 0x00 | 323 | /* Each AW20216 channel is controlled by a register at some offset between 0x00 |
324 | * and 0xD7 inclusive. | 324 | * and 0xD7 inclusive. |
325 | * See drivers/awinic/aw20216.h for the mapping between register offsets and | 325 | * See drivers/awinic/aw20216.h for the mapping between register offsets and |