forked from mirrors/qmk_userspace
Remove use of __flash within LED drivers (#21343)
This commit is contained in:
parent
b2a7420a22
commit
3156cf6da0
6 changed files with 27 additions and 17 deletions
|
@ -139,7 +139,7 @@ Currently only 4 drivers are supported, but it would be trivial to support for m
|
|||
Define these arrays listing all the LEDs in your `<keyboard>.c`:
|
||||
|
||||
```c
|
||||
const is31_led __flash g_is31_leds[LED_MATRIX_LED_COUNT] = {
|
||||
const is31_led PROGMEM g_is31_leds[LED_MATRIX_LED_COUNT] = {
|
||||
/* Refer to IS31 manual for these locations
|
||||
* driver
|
||||
* | LED address
|
||||
|
@ -158,7 +158,7 @@ Eg `#define ISSI_MANUAL_SCALING 3`
|
|||
Then Define the array listing all the LEDs you want to override in your `<keyboard>.c`:
|
||||
|
||||
```c
|
||||
const is31_led __flash g_is31_scaling[ISSI_MANUAL_SCALING] = {
|
||||
const is31_led PROGMEM g_is31_scaling[ISSI_MANUAL_SCALING] = {
|
||||
* LED Index
|
||||
* | Scaling
|
||||
* | | */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue