diff options
author | Joel Challis <git@zvecr.com> | 2021-07-31 14:35:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-31 14:35:30 +0100 |
commit | 70fb3e1aaf406cbbd5137916a93ed814d6891ef2 (patch) | |
tree | 822d9ec1df59c75f07f886fdf3f77002e8b2c926 /docs/feature_rgb_matrix.md | |
parent | 206a995ccd53b0843e72da606abebe06f39c9c28 (diff) | |
download | qmk_firmware-70fb3e1aaf406cbbd5137916a93ed814d6891ef2.tar.gz qmk_firmware-70fb3e1aaf406cbbd5137916a93ed814d6891ef2.zip |
__flash? (#13799)
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 18e38955e..670d7e09b 100644 --- a/docs/feature_rgb_matrix.md +++ b/docs/feature_rgb_matrix.md | |||
@@ -52,7 +52,7 @@ Here is an example using 2 drivers. | |||
52 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 52 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
53 | 53 | ||
54 | ```c | 54 | ```c |
55 | const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { | 55 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { |
56 | /* Refer to IS31 manual for these locations | 56 | /* Refer to IS31 manual for these locations |
57 | * driver | 57 | * driver |
58 | * | R location | 58 | * | R location |
@@ -122,7 +122,7 @@ Currently only 4 drivers are supported, but it would be trivial to support all 8 | |||
122 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 122 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
123 | 123 | ||
124 | ```c | 124 | ```c |
125 | const is31_led g_is31_leds[DRIVER_LED_TOTAL] = { | 125 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { |
126 | /* Refer to IS31 manual for these locations | 126 | /* Refer to IS31 manual for these locations |
127 | * driver | 127 | * driver |
128 | * | R location | 128 | * | R location |
@@ -186,7 +186,7 @@ Currently only 2 drivers are supported, but it would be trivial to support all 4 | |||
186 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 186 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
187 | 187 | ||
188 | ```c | 188 | ```c |
189 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { | 189 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { |
190 | /* Refer to IS31 manual for these locations | 190 | /* Refer to IS31 manual for these locations |
191 | * driver | 191 | * driver |
192 | * | R location | 192 | * | R location |
@@ -287,7 +287,7 @@ Here is an example using 2 drivers. | |||
287 | Define these arrays listing all the LEDs in your `<keyboard>.c`: | 287 | Define these arrays listing all the LEDs in your `<keyboard>.c`: |
288 | 288 | ||
289 | ```c | 289 | ```c |
290 | const aw_led g_aw_leds[DRIVER_LED_TOTAL] = { | 290 | const aw_led __flash g_aw_leds[DRIVER_LED_TOTAL] = { |
291 | /* Each AW20216 channel is controlled by a register at some offset between 0x00 | 291 | /* Each AW20216 channel is controlled by a register at some offset between 0x00 |
292 | * and 0xD7 inclusive. | 292 | * and 0xD7 inclusive. |
293 | * See drivers/awinic/aw20216.h for the mapping between register offsets and | 293 | * See drivers/awinic/aw20216.h for the mapping between register offsets and |