diff options
Diffstat (limited to 'keyboards')
79 files changed, 87 insertions, 87 deletions
diff --git a/keyboards/canary/canary60rgb/canary60rgb.c b/keyboards/canary/canary60rgb/canary60rgb.c index b01af5f29..b37a88b32 100644 --- a/keyboards/canary/canary60rgb/canary60rgb.c +++ b/keyboards/canary/canary60rgb/canary60rgb.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include "canary60rgb.h" | 16 | #include "canary60rgb.h" |
17 | 17 | ||
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
20 | { 0, J_14, K_14, L_14 }, | 20 | { 0, J_14, K_14, L_14 }, |
21 | { 0, J_13, K_13, L_13 }, | 21 | { 0, J_13, K_13, L_13 }, |
22 | { 0, J_12, K_12, L_12 }, | 22 | { 0, J_12, K_12, L_12 }, |
diff --git a/keyboards/clueboard/66_hotswap/gen1/gen1.c b/keyboards/clueboard/66_hotswap/gen1/gen1.c index 8e3db70d0..66c40731e 100644 --- a/keyboards/clueboard/66_hotswap/gen1/gen1.c +++ b/keyboards/clueboard/66_hotswap/gen1/gen1.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include "gen1.h" | 16 | #include "gen1.h" |
17 | 17 | ||
18 | #ifdef LED_MATRIX_ENABLE | 18 | #ifdef LED_MATRIX_ENABLE |
19 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
20 | /* Refer to IS31 manual for these locations | 20 | /* Refer to IS31 manual for these locations |
21 | * driver | 21 | * driver |
22 | * | LED address | 22 | * | LED address |
diff --git a/keyboards/dp60/dp60.c b/keyboards/dp60/dp60.c index 87543b2a1..16aac75fa 100644 --- a/keyboards/dp60/dp60.c +++ b/keyboards/dp60/dp60.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "dp60.h" | 17 | #include "dp60.h" |
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | /* Refer to IS31 manual for these locations | 21 | /* Refer to IS31 manual for these locations |
22 | * driver | 22 | * driver |
23 | * | R location | 23 | * | R location |
diff --git a/keyboards/durgod/dgk6x/galaxy/galaxy.c b/keyboards/durgod/dgk6x/galaxy/galaxy.c index 5f793ed85..86aef1bce 100644 --- a/keyboards/durgod/dgk6x/galaxy/galaxy.c +++ b/keyboards/durgod/dgk6x/galaxy/galaxy.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | /* Refer to IS31 manual for these locations | 22 | /* Refer to IS31 manual for these locations |
23 | * driver | 23 | * driver |
24 | * | R location | 24 | * | R location |
diff --git a/keyboards/durgod/dgk6x/hades/hades.c b/keyboards/durgod/dgk6x/hades/hades.c index 3e235683f..2f2f9e650 100644 --- a/keyboards/durgod/dgk6x/hades/hades.c +++ b/keyboards/durgod/dgk6x/hades/hades.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | 21 | ||
22 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 22 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
23 | /* Refer to IS31 manual for these locations | 23 | /* Refer to IS31 manual for these locations |
24 | * driver | 24 | * driver |
25 | * | R location | 25 | * | R location |
diff --git a/keyboards/durgod/dgk6x/venus/venus.c b/keyboards/durgod/dgk6x/venus/venus.c index 3398acb19..0b7fbd12f 100644 --- a/keyboards/durgod/dgk6x/venus/venus.c +++ b/keyboards/durgod/dgk6x/venus/venus.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | /* Refer to IS31 manual for these locations | 22 | /* Refer to IS31 manual for these locations |
23 | * driver | 23 | * driver |
24 | * | R location | 24 | * | R location |
diff --git a/keyboards/dztech/dz60rgb/dz60rgb.c b/keyboards/dztech/dz60rgb/dz60rgb.c index a7fc3dbc5..81f4846c2 100644 --- a/keyboards/dztech/dz60rgb/dz60rgb.c +++ b/keyboards/dztech/dz60rgb/dz60rgb.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "dz60rgb.h" | 1 | #include "dz60rgb.h" |
2 | 2 | ||
3 | #ifdef RGB_MATRIX_ENABLE | 3 | #ifdef RGB_MATRIX_ENABLE |
4 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 4 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
5 | { 0, K_14, J_14, L_14 }, | 5 | { 0, K_14, J_14, L_14 }, |
6 | { 0, K_13, J_13, L_13 }, | 6 | { 0, K_13, J_13, L_13 }, |
7 | { 0, K_12, J_12, L_12 }, | 7 | { 0, K_12, J_12, L_12 }, |
diff --git a/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c b/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c index ab2441091..0929ddbf4 100644 --- a/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c +++ b/keyboards/dztech/dz60rgb_ansi/dz60rgb_ansi.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "dz60rgb_ansi.h" | 1 | #include "dz60rgb_ansi.h" |
2 | 2 | ||
3 | #ifdef RGB_MATRIX_ENABLE | 3 | #ifdef RGB_MATRIX_ENABLE |
4 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 4 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
5 | { 0, K_14, J_14, L_14 }, | 5 | { 0, K_14, J_14, L_14 }, |
6 | { 0, K_13, J_13, L_13 }, | 6 | { 0, K_13, J_13, L_13 }, |
7 | { 0, K_12, J_12, L_12 }, | 7 | { 0, K_12, J_12, L_12 }, |
diff --git a/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c b/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c index 455624471..83feb5845 100644 --- a/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c +++ b/keyboards/dztech/dz60rgb_wkl/dz60rgb_wkl.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "dz60rgb_wkl.h" | 1 | #include "dz60rgb_wkl.h" |
2 | 2 | ||
3 | #ifdef RGB_MATRIX_ENABLE | 3 | #ifdef RGB_MATRIX_ENABLE |
4 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 4 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
5 | { 0, H_15, G_15, I_15 }, | 5 | { 0, H_15, G_15, I_15 }, |
6 | { 0, K_14, J_14, L_14 }, | 6 | { 0, K_14, J_14, L_14 }, |
7 | { 0, K_13, J_13, L_13 }, | 7 | { 0, K_13, J_13, L_13 }, |
diff --git a/keyboards/dztech/dz65rgb/v1/v1.c b/keyboards/dztech/dz65rgb/v1/v1.c index aabe41c31..8caced800 100644 --- a/keyboards/dztech/dz65rgb/v1/v1.c +++ b/keyboards/dztech/dz65rgb/v1/v1.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include "v1.h" | 16 | #include "v1.h" |
17 | 17 | ||
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
20 | { 0, C8_8, C7_8, C6_8 }, | 20 | { 0, C8_8, C7_8, C6_8 }, |
21 | { 0, C9_8, C7_7, C6_7 }, | 21 | { 0, C9_8, C7_7, C6_7 }, |
22 | { 0, C9_7, C8_7, C6_6 }, | 22 | { 0, C9_7, C8_7, C6_6 }, |
diff --git a/keyboards/dztech/dz65rgb/v2/v2.c b/keyboards/dztech/dz65rgb/v2/v2.c index dce167c73..db8e968cc 100644 --- a/keyboards/dztech/dz65rgb/v2/v2.c +++ b/keyboards/dztech/dz65rgb/v2/v2.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include "v2.h" | 16 | #include "v2.h" |
17 | 17 | ||
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
20 | { 0, C8_8, C7_8, C6_8 }, | 20 | { 0, C8_8, C7_8, C6_8 }, |
21 | { 0, C9_8, C7_7, C6_7 }, | 21 | { 0, C9_8, C7_7, C6_7 }, |
22 | { 0, C9_7, C8_7, C6_6 }, | 22 | { 0, C9_7, C8_7, C6_6 }, |
diff --git a/keyboards/dztech/dz65rgb/v3/v3.c b/keyboards/dztech/dz65rgb/v3/v3.c index c3719bfa5..18f87dc00 100755 --- a/keyboards/dztech/dz65rgb/v3/v3.c +++ b/keyboards/dztech/dz65rgb/v3/v3.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | {0, CS21_SW1, CS20_SW1, CS19_SW1}, | 22 | {0, CS21_SW1, CS20_SW1, CS19_SW1}, |
23 | {0, CS21_SW2, CS20_SW2, CS19_SW2}, | 23 | {0, CS21_SW2, CS20_SW2, CS19_SW2}, |
24 | {0, CS21_SW3, CS20_SW3, CS19_SW3}, | 24 | {0, CS21_SW3, CS20_SW3, CS19_SW3}, |
diff --git a/keyboards/ergodox_ez/ergodox_ez.c b/keyboards/ergodox_ez/ergodox_ez.c index 7af76cb62..49f690fa7 100644 --- a/keyboards/ergodox_ez/ergodox_ez.c +++ b/keyboards/ergodox_ez/ergodox_ez.c | |||
@@ -243,7 +243,7 @@ const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { | |||
243 | 243 | ||
244 | #ifdef RGB_MATRIX_ENABLE | 244 | #ifdef RGB_MATRIX_ENABLE |
245 | // clang-format off | 245 | // clang-format off |
246 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 246 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
247 | /* driver | 247 | /* driver |
248 | * | R location | 248 | * | R location |
249 | * | | G location | 249 | * | | G location |
diff --git a/keyboards/ergodox_infinity/ergodox_infinity.c b/keyboards/ergodox_infinity/ergodox_infinity.c index 88028d363..e6ac2c455 100644 --- a/keyboards/ergodox_infinity/ergodox_infinity.c +++ b/keyboards/ergodox_infinity/ergodox_infinity.c | |||
@@ -174,7 +174,7 @@ const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { | |||
174 | #endif | 174 | #endif |
175 | 175 | ||
176 | #ifdef LED_MATRIX_ENABLE | 176 | #ifdef LED_MATRIX_ENABLE |
177 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 177 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
178 | // The numbers in the comments are the led numbers DXX on the PCB | 178 | // The numbers in the comments are the led numbers DXX on the PCB |
179 | /* Refer to IS31 manual for these locations | 179 | /* Refer to IS31 manual for these locations |
180 | * driver | 180 | * driver |
diff --git a/keyboards/evyd13/atom47/rev5/rev5.c b/keyboards/evyd13/atom47/rev5/rev5.c index ea0208706..f972b7886 100644 --- a/keyboards/evyd13/atom47/rev5/rev5.c +++ b/keyboards/evyd13/atom47/rev5/rev5.c | |||
@@ -17,7 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
17 | 17 | ||
18 | #include "rev5.h" | 18 | #include "rev5.h" |
19 | 19 | ||
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | /* Refer to IS31 manual for these locations | 21 | /* Refer to IS31 manual for these locations |
22 | * driver | 22 | * driver |
23 | * | R location | 23 | * | R location |
diff --git a/keyboards/exclusive/e6_rgb/e6_rgb.c b/keyboards/exclusive/e6_rgb/e6_rgb.c index e0d313f83..11d313e9a 100644 --- a/keyboards/exclusive/e6_rgb/e6_rgb.c +++ b/keyboards/exclusive/e6_rgb/e6_rgb.c | |||
@@ -11,7 +11,7 @@ void matrix_init_kb(void) { | |||
11 | matrix_init_user(); | 11 | matrix_init_user(); |
12 | } | 12 | } |
13 | 13 | ||
14 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 14 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
15 | /* Refer to IS31 manual for these locations | 15 | /* Refer to IS31 manual for these locations |
16 | * driver | 16 | * driver |
17 | * | R location | 17 | * | R location |
diff --git a/keyboards/fallacy/indicators.c b/keyboards/fallacy/indicators.c index dcf1b4de0..c577bc9a8 100755 --- a/keyboards/fallacy/indicators.c +++ b/keyboards/fallacy/indicators.c | |||
@@ -54,7 +54,7 @@ void set_fallacy_led(int index, bool state) { | |||
54 | 54 | ||
55 | /* define LED matrix | 55 | /* define LED matrix |
56 | */ | 56 | */ |
57 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 57 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
58 | {0, C1_1}, | 58 | {0, C1_1}, |
59 | {0, C2_1}, | 59 | {0, C2_1}, |
60 | {0, C3_1}, | 60 | {0, C3_1}, |
diff --git a/keyboards/geekboards/tester/tester.c b/keyboards/geekboards/tester/tester.c index 532df7a53..70865c461 100644 --- a/keyboards/geekboards/tester/tester.c +++ b/keyboards/geekboards/tester/tester.c | |||
@@ -1,5 +1,5 @@ | |||
1 | #include "tester.h" | 1 | #include "tester.h" |
2 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 2 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
3 | /* Refer to IS31 manual for these locations | 3 | /* Refer to IS31 manual for these locations |
4 | * driver | 4 | * driver |
5 | * | R location | 5 | * | R location |
diff --git a/keyboards/gmmk/pro/ansi/keymaps/mattgauf/ansi.c b/keyboards/gmmk/pro/ansi/keymaps/mattgauf/ansi.c index b09af297b..52c9dfdf9 100644 --- a/keyboards/gmmk/pro/ansi/keymaps/mattgauf/ansi.c +++ b/keyboards/gmmk/pro/ansi/keymaps/mattgauf/ansi.c | |||
@@ -18,7 +18,7 @@ | |||
18 | #include "ansi.h" | 18 | #include "ansi.h" |
19 | 19 | ||
20 | #ifdef RGB_MATRIX_ENABLE | 20 | #ifdef RGB_MATRIX_ENABLE |
21 | led_config_t __flash g_led_config = {{ | 21 | led_config_t PROGMEM g_led_config = {{ |
22 | { 4, NO_LED, NO_LED, 95, 65, 79, 5, 28 }, | 22 | { 4, NO_LED, NO_LED, 95, 65, 79, 5, 28 }, |
23 | { 8, 2, 9, 0, 10, 75, 1, 7 }, | 23 | { 8, 2, 9, 0, 10, 75, 1, 7 }, |
24 | { 14, 3, 15, NO_LED, 16, 86, 6, 13 }, | 24 | { 14, 3, 15, NO_LED, 16, 86, 6, 13 }, |
diff --git a/keyboards/hs60/v1/v1.c b/keyboards/hs60/v1/v1.c index d2bb8011f..f96eb7c32 100644 --- a/keyboards/hs60/v1/v1.c +++ b/keyboards/hs60/v1/v1.c | |||
@@ -91,7 +91,7 @@ void raw_hid_receive( uint8_t *data, uint8_t length ) | |||
91 | 91 | ||
92 | #ifdef HS60_ANSI | 92 | #ifdef HS60_ANSI |
93 | 93 | ||
94 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 94 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
95 | /* Refer to IS31 manual for these locations | 95 | /* Refer to IS31 manual for these locations |
96 | * driver | 96 | * driver |
97 | * | R location | 97 | * | R location |
@@ -199,7 +199,7 @@ led_config_t g_led_config = { { | |||
199 | 199 | ||
200 | #else | 200 | #else |
201 | 201 | ||
202 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 202 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
203 | /* Refer to IS31 manual for these locations | 203 | /* Refer to IS31 manual for these locations |
204 | * driver | 204 | * driver |
205 | * | R location | 205 | * | R location |
diff --git a/keyboards/inett_studio/sqx/hotswap/hotswap.c b/keyboards/inett_studio/sqx/hotswap/hotswap.c index 5b3c8df82..c8e7d8784 100644 --- a/keyboards/inett_studio/sqx/hotswap/hotswap.c +++ b/keyboards/inett_studio/sqx/hotswap/hotswap.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include "hotswap.h" | 20 | #include "hotswap.h" |
21 | 21 | ||
22 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
23 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 23 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
24 | /* Refer to IS31 manual for these locations | 24 | /* Refer to IS31 manual for these locations |
25 | * driver | 25 | * driver |
26 | * | R location | 26 | * | R location |
diff --git a/keyboards/inett_studio/sqx/universal/universal.c b/keyboards/inett_studio/sqx/universal/universal.c index dd431a7f4..06cfbd365 100644 --- a/keyboards/inett_studio/sqx/universal/universal.c +++ b/keyboards/inett_studio/sqx/universal/universal.c | |||
@@ -20,7 +20,7 @@ | |||
20 | #include "universal.h" | 20 | #include "universal.h" |
21 | 21 | ||
22 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
23 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 23 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
24 | /* Refer to IS31 manual for these locations | 24 | /* Refer to IS31 manual for these locations |
25 | * driver | 25 | * driver |
26 | * | R location | 26 | * | R location |
diff --git a/keyboards/k_type/is31fl3733-dual.h b/keyboards/k_type/is31fl3733-dual.h index aab170a3f..ea45a7086 100644 --- a/keyboards/k_type/is31fl3733-dual.h +++ b/keyboards/k_type/is31fl3733-dual.h | |||
@@ -28,7 +28,7 @@ typedef struct is31_led { | |||
28 | uint8_t b; | 28 | uint8_t b; |
29 | } __attribute__((packed)) is31_led; | 29 | } __attribute__((packed)) is31_led; |
30 | 30 | ||
31 | extern const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL]; | 31 | extern const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL]; |
32 | 32 | ||
33 | void IS31FL3733_init(uint8_t bus, uint8_t addr, uint8_t sync); | 33 | void IS31FL3733_init(uint8_t bus, uint8_t addr, uint8_t sync); |
34 | bool IS31FL3733_write_register(uint8_t index, uint8_t addr, uint8_t reg, uint8_t data); | 34 | bool IS31FL3733_write_register(uint8_t index, uint8_t addr, uint8_t reg, uint8_t data); |
diff --git a/keyboards/k_type/k_type.c b/keyboards/k_type/k_type.c index 924862277..29e7fa57b 100644 --- a/keyboards/k_type/k_type.c +++ b/keyboards/k_type/k_type.c | |||
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
23 | #include "is31fl3733-dual.h" | 23 | #include "is31fl3733-dual.h" |
24 | 24 | ||
25 | 25 | ||
26 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 26 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
27 | { 0, B_1, A_1, C_1 }, | 27 | { 0, B_1, A_1, C_1 }, |
28 | { 0, B_2, A_2, C_2 }, | 28 | { 0, B_2, A_2, C_2 }, |
29 | { 0, B_3, A_3, C_3 }, | 29 | { 0, B_3, A_3, C_3 }, |
diff --git a/keyboards/kbdfans/bella/rgb/rgb.c b/keyboards/kbdfans/bella/rgb/rgb.c index 17cf99214..4353cae1b 100644 --- a/keyboards/kbdfans/bella/rgb/rgb.c +++ b/keyboards/kbdfans/bella/rgb/rgb.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | #include "rgb.h" | 16 | #include "rgb.h" |
17 | #ifdef RGB_MATRIX_ENABLE | 17 | #ifdef RGB_MATRIX_ENABLE |
18 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 18 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
19 | {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB6 */ | 19 | {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB6 */ |
20 | {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB32 */ | 20 | {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB32 */ |
21 | {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB45 */ | 21 | {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB45 */ |
diff --git a/keyboards/kbdfans/bella/rgb_iso/rgb_iso.c b/keyboards/kbdfans/bella/rgb_iso/rgb_iso.c index 0c431b154..072501045 100644 --- a/keyboards/kbdfans/bella/rgb_iso/rgb_iso.c +++ b/keyboards/kbdfans/bella/rgb_iso/rgb_iso.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | #include "rgb_iso.h" | 16 | #include "rgb_iso.h" |
17 | #ifdef RGB_MATRIX_ENABLE | 17 | #ifdef RGB_MATRIX_ENABLE |
18 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 18 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
19 | {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB6 */ | 19 | {0, CS18_SW1, CS17_SW1, CS16_SW1}, /* RGB6 */ |
20 | {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB32 */ | 20 | {0, CS18_SW3, CS17_SW3, CS16_SW3}, /* RGB32 */ |
21 | {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB45 */ | 21 | {0, CS18_SW4, CS17_SW4, CS16_SW4}, /* RGB45 */ |
diff --git a/keyboards/kbdfans/boop65/rgb/rgb.c b/keyboards/kbdfans/boop65/rgb/rgb.c index 5682ee289..3e9c66f45 100644 --- a/keyboards/kbdfans/boop65/rgb/rgb.c +++ b/keyboards/kbdfans/boop65/rgb/rgb.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | {0, CS21_SW1, CS20_SW1, CS19_SW1}, | 22 | {0, CS21_SW1, CS20_SW1, CS19_SW1}, |
23 | {0, CS21_SW2, CS20_SW2, CS19_SW2}, | 23 | {0, CS21_SW2, CS20_SW2, CS19_SW2}, |
24 | {0, CS21_SW3, CS20_SW3, CS19_SW3}, | 24 | {0, CS21_SW3, CS20_SW3, CS19_SW3}, |
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v1/v1.c b/keyboards/kbdfans/kbd67/mkiirgb/v1/v1.c index 53b57dc73..f00367387 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v1/v1.c +++ b/keyboards/kbdfans/kbd67/mkiirgb/v1/v1.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "v1.h" | 17 | #include "v1.h" |
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
20 | 20 | ||
21 | {0, C8_8, C7_8, C6_8}, // LA17 | 21 | {0, C8_8, C7_8, C6_8}, // LA17 |
22 | {0, C9_8, C7_7, C6_7}, // LA16 | 22 | {0, C9_8, C7_7, C6_7}, // LA16 |
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v2/v2.c b/keyboards/kbdfans/kbd67/mkiirgb/v2/v2.c index 562b9c454..37972c250 100644 --- a/keyboards/kbdfans/kbd67/mkiirgb/v2/v2.c +++ b/keyboards/kbdfans/kbd67/mkiirgb/v2/v2.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "v2.h" | 17 | #include "v2.h" |
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
20 | 20 | ||
21 | {0, C8_8, C7_8, C6_8}, // LA17 | 21 | {0, C8_8, C7_8, C6_8}, // LA17 |
22 | {0, C9_8, C7_7, C6_7}, // LA16 | 22 | {0, C9_8, C7_7, C6_7}, // LA16 |
diff --git a/keyboards/kbdfans/kbd67/mkiirgb/v3/v3.c b/keyboards/kbdfans/kbd67/mkiirgb/v3/v3.c index 6e368a5c7..85806aff5 100755 --- a/keyboards/kbdfans/kbd67/mkiirgb/v3/v3.c +++ b/keyboards/kbdfans/kbd67/mkiirgb/v3/v3.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | {0, CS21_SW1, CS20_SW1, CS19_SW1}, | 22 | {0, CS21_SW1, CS20_SW1, CS19_SW1}, |
23 | {0, CS21_SW2, CS20_SW2, CS19_SW2}, | 23 | {0, CS21_SW2, CS20_SW2, CS19_SW2}, |
24 | {0, CS21_SW3, CS20_SW3, CS19_SW3}, | 24 | {0, CS21_SW3, CS20_SW3, CS19_SW3}, |
diff --git a/keyboards/kbdfans/kbdmini/kbdmini.c b/keyboards/kbdfans/kbdmini/kbdmini.c index 799803c6f..03c0096c7 100644 --- a/keyboards/kbdfans/kbdmini/kbdmini.c +++ b/keyboards/kbdfans/kbdmini/kbdmini.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include "kbdmini.h" | 1 | #include "kbdmini.h" |
2 | 2 | ||
3 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 3 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
4 | { 0, B_9, A_9, C_9 }, //LA33 | 4 | { 0, B_9, A_9, C_9 }, //LA33 |
5 | { 0, B_10, A_10, C_10 }, //LA37 | 5 | { 0, B_10, A_10, C_10 }, //LA37 |
6 | { 0, B_11, A_11, C_11 }, //LA41 | 6 | { 0, B_11, A_11, C_11 }, //LA41 |
diff --git a/keyboards/kbdfans/maja/maja.c b/keyboards/kbdfans/maja/maja.c index 9619a84b4..d25721275 100755 --- a/keyboards/kbdfans/maja/maja.c +++ b/keyboards/kbdfans/maja/maja.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include "maja.h" | 1 | #include "maja.h" |
2 | 2 | ||
3 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 3 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
4 | {0, C2_1, C3_1, C4_1}, // LA0 | 4 | {0, C2_1, C3_1, C4_1}, // LA0 |
5 | {0, C1_1, C3_2, C4_2}, // LA1 | 5 | {0, C1_1, C3_2, C4_2}, // LA1 |
6 | {0, C1_2, C2_2, C4_3}, // LA2 | 6 | {0, C1_2, C2_2, C4_3}, // LA2 |
diff --git a/keyboards/keychron/q1/rev_0100/rev_0100.c b/keyboards/keychron/q1/rev_0100/rev_0100.c index abc4f2716..f42466952 100644 --- a/keyboards/keychron/q1/rev_0100/rev_0100.c +++ b/keyboards/keychron/q1/rev_0100/rev_0100.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "quantum.h" | 17 | #include "quantum.h" |
18 | 18 | ||
19 | 19 | ||
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | /* Refer to IS31 manual for these locations | 21 | /* Refer to IS31 manual for these locations |
22 | * driver | 22 | * driver |
23 | * | R location | 23 | * | R location |
diff --git a/keyboards/keychron/q1/rev_0102/rev_0102.c b/keyboards/keychron/q1/rev_0102/rev_0102.c index 722284aaa..e8a2c85ae 100644 --- a/keyboards/keychron/q1/rev_0102/rev_0102.c +++ b/keyboards/keychron/q1/rev_0102/rev_0102.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "quantum.h" | 17 | #include "quantum.h" |
18 | 18 | ||
19 | 19 | ||
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | /* Refer to IS31 manual for these locations | 21 | /* Refer to IS31 manual for these locations |
22 | * driver | 22 | * driver |
23 | * | R location | 23 | * | R location |
diff --git a/keyboards/latin17rgb/latin17rgb.c b/keyboards/latin17rgb/latin17rgb.c index f7bbe125c..d4ab3ea67 100644 --- a/keyboards/latin17rgb/latin17rgb.c +++ b/keyboards/latin17rgb/latin17rgb.c | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | 19 | ||
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | /* Refer to IS31 manual for these locations | 21 | /* Refer to IS31 manual for these locations |
22 | * driver | 22 | * driver |
23 | * | R location | 23 | * | R location |
diff --git a/keyboards/latin60rgb/latin60rgb.c b/keyboards/latin60rgb/latin60rgb.c index fe5d2eea8..b849f7ef9 100644 --- a/keyboards/latin60rgb/latin60rgb.c +++ b/keyboards/latin60rgb/latin60rgb.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include "latin60rgb.h" | 16 | #include "latin60rgb.h" |
17 | 17 | ||
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
20 | { 0, K_13, J_13, L_13 }, | 20 | { 0, K_13, J_13, L_13 }, |
21 | { 0, K_12, J_12, L_12 }, | 21 | { 0, K_12, J_12, L_12 }, |
22 | { 0, K_11, J_11, L_11 }, | 22 | { 0, K_11, J_11, L_11 }, |
diff --git a/keyboards/latin6rgb/latin6rgb.c b/keyboards/latin6rgb/latin6rgb.c index 9ea4721ec..ddab9a151 100644 --- a/keyboards/latin6rgb/latin6rgb.c +++ b/keyboards/latin6rgb/latin6rgb.c | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | 19 | ||
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | /* Refer to IS31 manual for these locations | 21 | /* Refer to IS31 manual for these locations |
22 | * driver | 22 | * driver |
23 | * | R location | 23 | * | R location |
diff --git a/keyboards/matrix/m20add/rgb_ring.c b/keyboards/matrix/m20add/rgb_ring.c index e759ee4e4..7535cb5bd 100644 --- a/keyboards/matrix/m20add/rgb_ring.c +++ b/keyboards/matrix/m20add/rgb_ring.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #endif | 30 | #endif |
31 | // rgb ring leds setting | 31 | // rgb ring leds setting |
32 | 32 | ||
33 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 33 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
34 | /* Refer to IS31 manual for these locations | 34 | /* Refer to IS31 manual for these locations |
35 | * driver | 35 | * driver |
36 | * | R location | 36 | * | R location |
diff --git a/keyboards/matrix/noah/noah.c b/keyboards/matrix/noah/noah.c index 20d68f34e..2143dee3b 100644 --- a/keyboards/matrix/noah/noah.c +++ b/keyboards/matrix/noah/noah.c | |||
@@ -58,7 +58,7 @@ void matrix_scan_kb(void) { | |||
58 | } | 58 | } |
59 | 59 | ||
60 | #ifdef RGB_MATRIX_ENABLE | 60 | #ifdef RGB_MATRIX_ENABLE |
61 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 61 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
62 | /* Refer to IS31 manual for these locations | 62 | /* Refer to IS31 manual for these locations |
63 | * driver | 63 | * driver |
64 | * | R location | 64 | * | R location |
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c b/keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c index fe946169a..dda36f371 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c +++ b/keyboards/mechlovin/adelais/rgb_led/rev2/rev2.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "adelais.h" | 17 | #include "adelais.h" |
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | 21 | ||
22 | {0, C2_1, C3_1, C4_1}, //D102-A0-0 | 22 | {0, C2_1, C3_1, C4_1}, //D102-A0-0 |
23 | {0, C5_1, C6_1, C7_1}, //D108-A1-1 | 23 | {0, C5_1, C6_1, C7_1}, //D108-A1-1 |
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev3/rev3.c b/keyboards/mechlovin/adelais/rgb_led/rev3/rev3.c index 7631bc850..b20f89772 100644 --- a/keyboards/mechlovin/adelais/rgb_led/rev3/rev3.c +++ b/keyboards/mechlovin/adelais/rgb_led/rev3/rev3.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "rev3.h" | 17 | #include "rev3.h" |
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | {0, CS3_SW5, CS2_SW5, CS1_SW5}, /* D9-K31-00 */ | 21 | {0, CS3_SW5, CS2_SW5, CS1_SW5}, /* D9-K31-00 */ |
22 | {0, CS6_SW5, CS5_SW5, CS4_SW5}, /* D46-K00-01 */ | 22 | {0, CS6_SW5, CS5_SW5, CS4_SW5}, /* D46-K00-01 */ |
23 | {0, CS6_SW9, CS5_SW9, CS4_SW9}, /* D59-K01-02 */ | 23 | {0, CS6_SW9, CS5_SW9, CS4_SW9}, /* D59-K01-02 */ |
diff --git a/keyboards/mechlovin/delphine/rgb_led/rgb_led.c b/keyboards/mechlovin/delphine/rgb_led/rgb_led.c index 29b6d1f78..413a9a06e 100644 --- a/keyboards/mechlovin/delphine/rgb_led/rgb_led.c +++ b/keyboards/mechlovin/delphine/rgb_led/rgb_led.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | 19 | ||
20 | #ifdef RGB_MATRIX_ENABLE | 20 | #ifdef RGB_MATRIX_ENABLE |
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | // left CA | 22 | // left CA |
23 | {0, C5_2, C6_2, C7_2}, //D2-0 | 23 | {0, C5_2, C6_2, C7_2}, //D2-0 |
24 | {0, C1_1, C3_2, C4_2}, //D20-1 | 24 | {0, C1_1, C3_2, C4_2}, //D20-1 |
diff --git a/keyboards/mechlovin/hannah60rgb/rev2/rev2.c b/keyboards/mechlovin/hannah60rgb/rev2/rev2.c index 8b30538cc..ac371e418 100644 --- a/keyboards/mechlovin/hannah60rgb/rev2/rev2.c +++ b/keyboards/mechlovin/hannah60rgb/rev2/rev2.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "rev2.h" | 17 | #include "rev2.h" |
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | /* Refer to IS31 manual for these locations | 21 | /* Refer to IS31 manual for these locations |
22 | * driver | 22 | * driver |
23 | * | R location | 23 | * | R location |
diff --git a/keyboards/mechlovin/infinity87/rgb_rev1/rgb_rev1.c b/keyboards/mechlovin/infinity87/rgb_rev1/rgb_rev1.c index bd1fd8abf..0ad5d4143 100644 --- a/keyboards/mechlovin/infinity87/rgb_rev1/rgb_rev1.c +++ b/keyboards/mechlovin/infinity87/rgb_rev1/rgb_rev1.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "rgb_rev1.h" | 17 | #include "rgb_rev1.h" |
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | {0, CS34_SW1, CS35_SW1, CS36_SW1}, //D92-K00-0 | 21 | {0, CS34_SW1, CS35_SW1, CS36_SW1}, //D92-K00-0 |
22 | {0, CS37_SW1, CS38_SW1, CS39_SW1}, //D94-K01-1 | 22 | {0, CS37_SW1, CS38_SW1, CS39_SW1}, //D94-K01-1 |
23 | {0, CS31_SW1, CS32_SW1, CS33_SW1}, //D96-K02-2 | 23 | {0, CS31_SW1, CS32_SW1, CS33_SW1}, //D96-K02-2 |
diff --git a/keyboards/melgeek/mach80/rev1/rev1.c b/keyboards/melgeek/mach80/rev1/rev1.c index 5a7970857..4d11d3f71 100755 --- a/keyboards/melgeek/mach80/rev1/rev1.c +++ b/keyboards/melgeek/mach80/rev1/rev1.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | 21 | ||
22 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 22 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
23 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ | 23 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ |
24 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ | 24 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ |
25 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ | 25 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ |
diff --git a/keyboards/melgeek/mj61/rev1/rev1.c b/keyboards/melgeek/mj61/rev1/rev1.c index e51c57548..9d8de36d8 100644 --- a/keyboards/melgeek/mj61/rev1/rev1.c +++ b/keyboards/melgeek/mj61/rev1/rev1.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "mj61.h" | 17 | #include "mj61.h" |
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB1 */ | 21 | {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB1 */ |
22 | {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB2 */ | 22 | {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB2 */ |
23 | {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB3 */ | 23 | {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB3 */ |
diff --git a/keyboards/melgeek/mj61/rev2/rev2.c b/keyboards/melgeek/mj61/rev2/rev2.c index 3f6b1bff7..b46cf08c4 100644 --- a/keyboards/melgeek/mj61/rev2/rev2.c +++ b/keyboards/melgeek/mj61/rev2/rev2.c | |||
@@ -19,7 +19,7 @@ | |||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | 21 | ||
22 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 22 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
23 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ | 23 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ |
24 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB3 */ | 24 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB3 */ |
25 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB4 */ | 25 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB4 */ |
diff --git a/keyboards/melgeek/mj63/rev1/rev1.c b/keyboards/melgeek/mj63/rev1/rev1.c index a6ee8859b..45abafd84 100644 --- a/keyboards/melgeek/mj63/rev1/rev1.c +++ b/keyboards/melgeek/mj63/rev1/rev1.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #ifdef RGB_MATRIX_ENABLE | 20 | #ifdef RGB_MATRIX_ENABLE |
21 | 21 | ||
22 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 22 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
23 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ | 23 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ |
24 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ | 24 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ |
25 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ | 25 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ |
diff --git a/keyboards/melgeek/mj63/rev2/rev2.c b/keyboards/melgeek/mj63/rev2/rev2.c index 8cacc689a..b21c4f960 100644 --- a/keyboards/melgeek/mj63/rev2/rev2.c +++ b/keyboards/melgeek/mj63/rev2/rev2.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | #ifdef RGB_MATRIX_ENABLE | 20 | #ifdef RGB_MATRIX_ENABLE |
21 | 21 | ||
22 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 22 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
23 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ | 23 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ |
24 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB3 */ | 24 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB3 */ |
25 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB4 */ | 25 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB4 */ |
diff --git a/keyboards/melgeek/mj64/rev1/rev1.c b/keyboards/melgeek/mj64/rev1/rev1.c index 446ba779d..3279e7a1f 100644 --- a/keyboards/melgeek/mj64/rev1/rev1.c +++ b/keyboards/melgeek/mj64/rev1/rev1.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ | 22 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ |
23 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ | 23 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ |
24 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ | 24 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ |
diff --git a/keyboards/melgeek/mj64/rev2/rev2.c b/keyboards/melgeek/mj64/rev2/rev2.c index 444e8f60a..b0653f9e7 100644 --- a/keyboards/melgeek/mj64/rev2/rev2.c +++ b/keyboards/melgeek/mj64/rev2/rev2.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ | 22 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ |
23 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ | 23 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ |
24 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ | 24 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ |
diff --git a/keyboards/melgeek/mj64/rev3/rev3.c b/keyboards/melgeek/mj64/rev3/rev3.c index 2a1283ec7..b67dbee75 100644 --- a/keyboards/melgeek/mj64/rev3/rev3.c +++ b/keyboards/melgeek/mj64/rev3/rev3.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ | 22 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ |
23 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB3 */ | 23 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB3 */ |
24 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB4 */ | 24 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB4 */ |
diff --git a/keyboards/melgeek/mj65/rev3/rev3.c b/keyboards/melgeek/mj65/rev3/rev3.c index 6335edd79..f02c29e74 100644 --- a/keyboards/melgeek/mj65/rev3/rev3.c +++ b/keyboards/melgeek/mj65/rev3/rev3.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ | 22 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ |
23 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ | 23 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ |
24 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ | 24 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ |
diff --git a/keyboards/melgeek/mojo68/rev1/rev1.c b/keyboards/melgeek/mojo68/rev1/rev1.c index cc45417e8..27c9212ac 100755 --- a/keyboards/melgeek/mojo68/rev1/rev1.c +++ b/keyboards/melgeek/mojo68/rev1/rev1.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ | 22 | {0, CS9_SW1, CS8_SW1, CS7_SW1}, /* RGB1 */ |
23 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ | 23 | {0, CS9_SW2, CS8_SW2, CS7_SW2}, /* RGB2 */ |
24 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ | 24 | {0, CS9_SW3, CS8_SW3, CS7_SW3}, /* RGB3 */ |
diff --git a/keyboards/melgeek/mojo75/rev1/rev1.c b/keyboards/melgeek/mojo75/rev1/rev1.c index 07ae916da..ae103801e 100644 --- a/keyboards/melgeek/mojo75/rev1/rev1.c +++ b/keyboards/melgeek/mojo75/rev1/rev1.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | 20 | ||
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB1 */ | 22 | {0, CS6_SW1, CS5_SW1, CS4_SW1}, /* RGB1 */ |
23 | {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* RGB2 */ | 23 | {0, CS6_SW2, CS5_SW2, CS4_SW2}, /* RGB2 */ |
24 | {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB3 */ | 24 | {0, CS6_SW3, CS5_SW3, CS4_SW3}, /* RGB3 */ |
diff --git a/keyboards/melgeek/z70ultra/z70ultra.c b/keyboards/melgeek/z70ultra/z70ultra.c index 552576cd7..6be690c01 100644 --- a/keyboards/melgeek/z70ultra/z70ultra.c +++ b/keyboards/melgeek/z70ultra/z70ultra.c | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | 19 | ||
20 | #ifdef RGB_MATRIX_ENABLE | 20 | #ifdef RGB_MATRIX_ENABLE |
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | {0, CS28_SW1, CS30_SW1, CS29_SW1}, /* RGB10 */ | 22 | {0, CS28_SW1, CS30_SW1, CS29_SW1}, /* RGB10 */ |
23 | {0, CS28_SW2, CS30_SW2, CS29_SW2}, /* RGB11 */ | 23 | {0, CS28_SW2, CS30_SW2, CS29_SW2}, /* RGB11 */ |
24 | {0, CS28_SW3, CS30_SW3, CS29_SW3}, /* RGB12 */ | 24 | {0, CS28_SW3, CS30_SW3, CS29_SW3}, /* RGB12 */ |
diff --git a/keyboards/miller/gm862/gm862.c b/keyboards/miller/gm862/gm862.c index d67104838..526295776 100644 --- a/keyboards/miller/gm862/gm862.c +++ b/keyboards/miller/gm862/gm862.c | |||
@@ -1,7 +1,7 @@ | |||
1 | #include "gm862.h" | 1 | #include "gm862.h" |
2 | 2 | ||
3 | #ifdef RGB_MATRIX_ENABLE | 3 | #ifdef RGB_MATRIX_ENABLE |
4 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 4 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
5 | {0, B_1, A_1, C_1}, | 5 | {0, B_1, A_1, C_1}, |
6 | {0, B_2, A_2, C_2}, | 6 | {0, B_2, A_2, C_2}, |
7 | {0, B_3, A_3, C_3}, | 7 | {0, B_3, A_3, C_3}, |
diff --git a/keyboards/moonlander/moonlander.c b/keyboards/moonlander/moonlander.c index 8688b9efa..3f9b3d40a 100644 --- a/keyboards/moonlander/moonlander.c +++ b/keyboards/moonlander/moonlander.c | |||
@@ -203,7 +203,7 @@ layer_state_t layer_state_set_kb(layer_state_t state) { | |||
203 | 203 | ||
204 | #ifdef RGB_MATRIX_ENABLE | 204 | #ifdef RGB_MATRIX_ENABLE |
205 | // clang-format off | 205 | // clang-format off |
206 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 206 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
207 | /* Refer to IS31 manual for these locations | 207 | /* Refer to IS31 manual for these locations |
208 | * driver | 208 | * driver |
209 | * | R location | 209 | * | R location |
diff --git a/keyboards/mt64rgb/mt64rgb.c b/keyboards/mt64rgb/mt64rgb.c index a0b8e8da7..f0c444e8f 100644 --- a/keyboards/mt64rgb/mt64rgb.c +++ b/keyboards/mt64rgb/mt64rgb.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include "mt64rgb.h" | 16 | #include "mt64rgb.h" |
17 | 17 | ||
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
20 | /* Refer to IS31 manual for these locations | 20 | /* Refer to IS31 manual for these locations |
21 | * driver | 21 | * driver |
22 | * | R location | 22 | * | R location |
diff --git a/keyboards/mt84/mt84.c b/keyboards/mt84/mt84.c index 9b00aa635..e15a1ff95 100644 --- a/keyboards/mt84/mt84.c +++ b/keyboards/mt84/mt84.c | |||
@@ -16,7 +16,7 @@ | |||
16 | #include "mt84.h" | 16 | #include "mt84.h" |
17 | 17 | ||
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
20 | /* Refer to IS31 manual for these locations | 20 | /* Refer to IS31 manual for these locations |
21 | * driver | 21 | * driver |
22 | * | R location | 22 | * | R location |
diff --git a/keyboards/neson_design/n6/n6.c b/keyboards/neson_design/n6/n6.c index 15f14d7e3..e99467fa0 100644 --- a/keyboards/neson_design/n6/n6.c +++ b/keyboards/neson_design/n6/n6.c | |||
@@ -187,7 +187,7 @@ static void self_testing(void) | |||
187 | update_ticks(); | 187 | update_ticks(); |
188 | } | 188 | } |
189 | 189 | ||
190 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 190 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
191 | /* Refer to IS31 manual for these locations | 191 | /* Refer to IS31 manual for these locations |
192 | * driver | 192 | * driver |
193 | * | R location | 193 | * | R location |
diff --git a/keyboards/opendeck/32/rev1/rev1.c b/keyboards/opendeck/32/rev1/rev1.c index 91f59a60b..332dc3cc4 100644 --- a/keyboards/opendeck/32/rev1/rev1.c +++ b/keyboards/opendeck/32/rev1/rev1.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "rev1.h" | 17 | #include "rev1.h" |
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | /* Refer to IS31 manual for these locations | 21 | /* Refer to IS31 manual for these locations |
22 | * driver | 22 | * driver |
23 | * | R location | 23 | * | R location |
diff --git a/keyboards/planck/ez/ez.c b/keyboards/planck/ez/ez.c index 27cb2a1d1..5c68726a0 100644 --- a/keyboards/planck/ez/ez.c +++ b/keyboards/planck/ez/ez.c | |||
@@ -21,7 +21,7 @@ | |||
21 | 21 | ||
22 | keyboard_config_t keyboard_config; | 22 | keyboard_config_t keyboard_config; |
23 | #ifdef RGB_MATRIX_ENABLE | 23 | #ifdef RGB_MATRIX_ENABLE |
24 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 24 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
25 | /* Refer to IS31 manual for these locations | 25 | /* Refer to IS31 manual for these locations |
26 | * driver | 26 | * driver |
27 | * | R location | 27 | * | R location |
diff --git a/keyboards/planck/light/light.c b/keyboards/planck/light/light.c index 839848228..1967d318d 100644 --- a/keyboards/planck/light/light.c +++ b/keyboards/planck/light/light.c | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | #include "light.h" | 17 | #include "light.h" |
18 | 18 | ||
19 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 19 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
20 | /* Refer to IS31 manual for these locations | 20 | /* Refer to IS31 manual for these locations |
21 | * driver | 21 | * driver |
22 | * | R location | 22 | * | R location |
diff --git a/keyboards/playkbtw/pk64rgb/pk64rgb.c b/keyboards/playkbtw/pk64rgb/pk64rgb.c index 244a47967..bc1f63a5b 100644 --- a/keyboards/playkbtw/pk64rgb/pk64rgb.c +++ b/keyboards/playkbtw/pk64rgb/pk64rgb.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "pk64rgb.h" | 17 | #include "pk64rgb.h" |
18 | 18 | ||
19 | #ifdef RGB_MATRIX_ENABLE | 19 | #ifdef RGB_MATRIX_ENABLE |
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | /* Refer to IS31 manual for these locations | 21 | /* Refer to IS31 manual for these locations |
22 | * driver | 22 | * driver |
23 | * | R location | 23 | * | R location |
diff --git a/keyboards/smallkeyboard/smallkeyboard.c b/keyboards/smallkeyboard/smallkeyboard.c index f89a6d32b..af38cb612 100644 --- a/keyboards/smallkeyboard/smallkeyboard.c +++ b/keyboards/smallkeyboard/smallkeyboard.c | |||
@@ -17,7 +17,7 @@ | |||
17 | 17 | ||
18 | #ifdef RGB_MATRIX_ENABLE | 18 | #ifdef RGB_MATRIX_ENABLE |
19 | 19 | ||
20 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 20 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
21 | /* Refer to IS31 manual for these locations | 21 | /* Refer to IS31 manual for these locations |
22 | * driver | 22 | * driver |
23 | * | R location | 23 | * | R location |
diff --git a/keyboards/terrazzo/terrazzo.c b/keyboards/terrazzo/terrazzo.c index 19ac6be49..731efec20 100644 --- a/keyboards/terrazzo/terrazzo.c +++ b/keyboards/terrazzo/terrazzo.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include "print.h" | 21 | #include "print.h" |
22 | #include "quantum.h" | 22 | #include "quantum.h" |
23 | 23 | ||
24 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 24 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
25 | /* Refer to IS31 manual for these locations | 25 | /* Refer to IS31 manual for these locations |
26 | * https://cdn-learn.adafruit.com/downloads/pdf/adafruit-15x7-7x15-charlieplex-led-matrix-charliewing-featherwing.pdf | 26 | * https://cdn-learn.adafruit.com/downloads/pdf/adafruit-15x7-7x15-charlieplex-led-matrix-charliewing-featherwing.pdf |
27 | */ | 27 | */ |
diff --git a/keyboards/tkc/portico/portico.c b/keyboards/tkc/portico/portico.c index e3d3a1488..0e2b4b249 100644 --- a/keyboards/tkc/portico/portico.c +++ b/keyboards/tkc/portico/portico.c | |||
@@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
19 | 19 | ||
20 | #ifdef RGB_MATRIX_ENABLE | 20 | #ifdef RGB_MATRIX_ENABLE |
21 | 21 | ||
22 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 22 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
23 | { 0, C2_1, C3_1, C4_1 }, | 23 | { 0, C2_1, C3_1, C4_1 }, |
24 | { 0, C1_1, C3_2, C4_2 }, | 24 | { 0, C1_1, C3_2, C4_2 }, |
25 | { 0, C1_2, C2_2, C4_3 }, | 25 | { 0, C1_2, C2_2, C4_3 }, |
diff --git a/keyboards/whitefox/whitefox.c b/keyboards/whitefox/whitefox.c index b17af1512..99c59f773 100644 --- a/keyboards/whitefox/whitefox.c +++ b/keyboards/whitefox/whitefox.c | |||
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
18 | #include "whitefox.h" | 18 | #include "whitefox.h" |
19 | 19 | ||
20 | #ifdef LED_MATRIX_ENABLE | 20 | #ifdef LED_MATRIX_ENABLE |
21 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 21 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
22 | // The numbers in the comments are the led numbers DXX on the PCB | 22 | // The numbers in the comments are the led numbers DXX on the PCB |
23 | /* Refer to IS31 manual for these locations | 23 | /* Refer to IS31 manual for these locations |
24 | * driver | 24 | * driver |
diff --git a/keyboards/wilba_tech/wt_rgb_backlight.c b/keyboards/wilba_tech/wt_rgb_backlight.c index 63763c6c9..cc34a90c7 100644 --- a/keyboards/wilba_tech/wt_rgb_backlight.c +++ b/keyboards/wilba_tech/wt_rgb_backlight.c | |||
@@ -158,7 +158,7 @@ uint32_t g_any_key_hit = 0; | |||
158 | // ADDR_2 is not needed. it is here as a dummy | 158 | // ADDR_2 is not needed. it is here as a dummy |
159 | #define ISSI_ADDR_1 0x50 | 159 | #define ISSI_ADDR_1 0x50 |
160 | 160 | ||
161 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 161 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
162 | /* Refer to IS31 manual for these locations | 162 | /* Refer to IS31 manual for these locations |
163 | * driver | 163 | * driver |
164 | * | R location | 164 | * | R location |
@@ -239,7 +239,7 @@ const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | |||
239 | #define ISSI_ADDR_1 0x50 | 239 | #define ISSI_ADDR_1 0x50 |
240 | #define ISSI_ADDR_2 0x52 | 240 | #define ISSI_ADDR_2 0x52 |
241 | 241 | ||
242 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 242 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
243 | /* Refer to IS31 manual for these locations | 243 | /* Refer to IS31 manual for these locations |
244 | * driver | 244 | * driver |
245 | * | R location | 245 | * | R location |
@@ -382,7 +382,7 @@ const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | |||
382 | // set to 0 for write, 1 for read (as per I2C protocol) | 382 | // set to 0 for write, 1 for read (as per I2C protocol) |
383 | #define ISSI_ADDR_1 0x74 | 383 | #define ISSI_ADDR_1 0x74 |
384 | 384 | ||
385 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 385 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
386 | /* Refer to IS31 manual for these locations | 386 | /* Refer to IS31 manual for these locations |
387 | * driver | 387 | * driver |
388 | * | R location | 388 | * | R location |
@@ -414,7 +414,7 @@ const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | |||
414 | #define ISSI_ADDR_2 0x76 // 11101[10] <- SDA | 414 | #define ISSI_ADDR_2 0x76 // 11101[10] <- SDA |
415 | #define ISSI_ADDR_3 0x75 // 11101[01] <- SCL | 415 | #define ISSI_ADDR_3 0x75 // 11101[01] <- SCL |
416 | 416 | ||
417 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 417 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
418 | /* Refer to IS31 manual for these locations | 418 | /* Refer to IS31 manual for these locations |
419 | * driver | 419 | * driver |
420 | * | R location | 420 | * | R location |
@@ -541,7 +541,7 @@ const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | |||
541 | #define ISSI_ADDR_1 0x74 | 541 | #define ISSI_ADDR_1 0x74 |
542 | #define ISSI_ADDR_2 0x76 | 542 | #define ISSI_ADDR_2 0x76 |
543 | 543 | ||
544 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 544 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
545 | /* Refer to IS31 manual for these locations | 545 | /* Refer to IS31 manual for these locations |
546 | * driver | 546 | * driver |
547 | * | R location | 547 | * | R location |
@@ -622,7 +622,7 @@ const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | |||
622 | #define ISSI_ADDR_1 0x74 | 622 | #define ISSI_ADDR_1 0x74 |
623 | #define ISSI_ADDR_2 0x77 | 623 | #define ISSI_ADDR_2 0x77 |
624 | 624 | ||
625 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 625 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
626 | /* Refer to IS31 manual for these locations | 626 | /* Refer to IS31 manual for these locations |
627 | * driver | 627 | * driver |
628 | * | R location | 628 | * | R location |
@@ -709,7 +709,7 @@ const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | |||
709 | #define ISSI_ADDR_1 0x74 | 709 | #define ISSI_ADDR_1 0x74 |
710 | #define ISSI_ADDR_2 | 710 | #define ISSI_ADDR_2 |
711 | 711 | ||
712 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 712 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
713 | {0, C1_9, C3_10, C4_10}, // LB1 | 713 | {0, C1_9, C3_10, C4_10}, // LB1 |
714 | {0, C1_10, C2_10, C4_11}, // LB2 | 714 | {0, C1_10, C2_10, C4_11}, // LB2 |
715 | {0, C1_11, C2_11, C3_11}, // LB3 | 715 | {0, C1_11, C2_11, C3_11}, // LB3 |
@@ -729,7 +729,7 @@ const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | |||
729 | #define ISSI_ADDR_1 0x74 | 729 | #define ISSI_ADDR_1 0x74 |
730 | #define ISSI_ADDR_2 0x76 | 730 | #define ISSI_ADDR_2 0x76 |
731 | 731 | ||
732 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 732 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
733 | /* Refer to IS31 manual for these locations | 733 | /* Refer to IS31 manual for these locations |
734 | * driver | 734 | * driver |
735 | * | R location | 735 | * | R location |
diff --git a/keyboards/xbows/knight/knight.c b/keyboards/xbows/knight/knight.c index 539ecb653..8c2fd9dfa 100644 --- a/keyboards/xbows/knight/knight.c +++ b/keyboards/xbows/knight/knight.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | #include "knight.h" | 16 | #include "knight.h" |
17 | #ifdef RGB_MATRIX_ENABLE | 17 | #ifdef RGB_MATRIX_ENABLE |
18 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 18 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
19 | 19 | ||
20 | {0, C1_3, C2_3, C3_3}, // L01 | 20 | {0, C1_3, C2_3, C3_3}, // L01 |
21 | {0, C1_4, C2_4, C3_4}, // L02 | 21 | {0, C1_4, C2_4, C3_4}, // L02 |
diff --git a/keyboards/xbows/knight_plus/knight_plus.c b/keyboards/xbows/knight_plus/knight_plus.c index c5dd1a5fd..ede23dc63 100644 --- a/keyboards/xbows/knight_plus/knight_plus.c +++ b/keyboards/xbows/knight_plus/knight_plus.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | #include "knight_plus.h" | 16 | #include "knight_plus.h" |
17 | #ifdef RGB_MATRIX_ENABLE | 17 | #ifdef RGB_MATRIX_ENABLE |
18 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 18 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
19 | 19 | ||
20 | {0, C1_3, C2_3, C3_3}, // L01 | 20 | {0, C1_3, C2_3, C3_3}, // L01 |
21 | {0, C1_4, C2_4, C3_4}, // L02 | 21 | {0, C1_4, C2_4, C3_4}, // L02 |
diff --git a/keyboards/xbows/nature/nature.c b/keyboards/xbows/nature/nature.c index b7b10d5ab..80d695fec 100644 --- a/keyboards/xbows/nature/nature.c +++ b/keyboards/xbows/nature/nature.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | #include "nature.h" | 16 | #include "nature.h" |
17 | #ifdef RGB_MATRIX_ENABLE | 17 | #ifdef RGB_MATRIX_ENABLE |
18 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 18 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
19 | 19 | ||
20 | {0, C1_3, C2_3, C3_3}, // L01 | 20 | {0, C1_3, C2_3, C3_3}, // L01 |
21 | {0, C1_4, C2_4, C3_4}, // L02 | 21 | {0, C1_4, C2_4, C3_4}, // L02 |
diff --git a/keyboards/xbows/numpad/numpad.c b/keyboards/xbows/numpad/numpad.c index 8f25152e3..bbc2a1e98 100644 --- a/keyboards/xbows/numpad/numpad.c +++ b/keyboards/xbows/numpad/numpad.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | #include "numpad.h" | 16 | #include "numpad.h" |
17 | #ifdef RGB_MATRIX_ENABLE | 17 | #ifdef RGB_MATRIX_ENABLE |
18 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 18 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
19 | 19 | ||
20 | {0, C3_3, C2_3, C1_3}, // L01 | 20 | {0, C3_3, C2_3, C1_3}, // L01 |
21 | {0, C3_4, C2_4, C1_4}, // L02 | 21 | {0, C3_4, C2_4, C1_4}, // L02 |
diff --git a/keyboards/xbows/ranger/ranger.c b/keyboards/xbows/ranger/ranger.c index 618afbdbf..9a0991896 100644 --- a/keyboards/xbows/ranger/ranger.c +++ b/keyboards/xbows/ranger/ranger.c | |||
@@ -15,7 +15,7 @@ | |||
15 | */ | 15 | */ |
16 | #include "ranger.h" | 16 | #include "ranger.h" |
17 | #ifdef RGB_MATRIX_ENABLE | 17 | #ifdef RGB_MATRIX_ENABLE |
18 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 18 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
19 | 19 | ||
20 | {0, C3_3, C2_3, C1_3}, // L01 | 20 | {0, C3_3, C2_3, C1_3}, // L01 |
21 | {0, C3_4, C2_4, C1_4}, // L02 | 21 | {0, C3_4, C2_4, C1_4}, // L02 |
diff --git a/keyboards/xbows/woody/woody.c b/keyboards/xbows/woody/woody.c index 39d87442c..41601d39a 100644 --- a/keyboards/xbows/woody/woody.c +++ b/keyboards/xbows/woody/woody.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #include "woody.h" | 1 | #include "woody.h" |
2 | #ifdef RGB_MATRIX_ENABLE | 2 | #ifdef RGB_MATRIX_ENABLE |
3 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 3 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
4 | 4 | ||
5 | {0, C8_8, C7_8, C6_8}, // LA17 | 5 | {0, C8_8, C7_8, C6_8}, // LA17 |
6 | {0, C9_8, C7_7, C6_7}, // LA16 | 6 | {0, C9_8, C7_7, C6_7}, // LA16 |
diff --git a/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c b/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c index c6ddef093..8b044ee4f 100644 --- a/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c +++ b/keyboards/xelus/dawn60/rev1_qmk/rev1_qmk.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #ifdef RGB_MATRIX_ENABLE | 25 | #ifdef RGB_MATRIX_ENABLE |
26 | LED_TYPE rgb_matrix_ws2812_array[WS2812_LED_TOTAL]; | 26 | LED_TYPE rgb_matrix_ws2812_array[WS2812_LED_TOTAL]; |
27 | 27 | ||
28 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 28 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
29 | /* Refer to IS31 manual for these locations | 29 | /* Refer to IS31 manual for these locations |
30 | * driver | 30 | * driver |
31 | * | R location | 31 | * | R location |
diff --git a/keyboards/xelus/pachi/rgb/rev1/rev1.c b/keyboards/xelus/pachi/rgb/rev1/rev1.c index 74f46e681..707426500 100644 --- a/keyboards/xelus/pachi/rgb/rev1/rev1.c +++ b/keyboards/xelus/pachi/rgb/rev1/rev1.c | |||
@@ -22,7 +22,7 @@ void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); } | |||
22 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
23 | #include "i2c_master.h" | 23 | #include "i2c_master.h" |
24 | #include "drivers/led/issi/is31fl3741.h" | 24 | #include "drivers/led/issi/is31fl3741.h" |
25 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 25 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
26 | /* Refer to IS31 manual for these locations | 26 | /* Refer to IS31 manual for these locations |
27 | * driver | 27 | * driver |
28 | * | R location | 28 | * | R location |
diff --git a/keyboards/xelus/pachi/rgb/rev2/rev2.c b/keyboards/xelus/pachi/rgb/rev2/rev2.c index 3a2e7caca..b8a7bc273 100644 --- a/keyboards/xelus/pachi/rgb/rev2/rev2.c +++ b/keyboards/xelus/pachi/rgb/rev2/rev2.c | |||
@@ -22,7 +22,7 @@ void matrix_io_delay(void) { __asm__ volatile("nop\nnop\nnop\n"); } | |||
22 | #ifdef RGB_MATRIX_ENABLE | 22 | #ifdef RGB_MATRIX_ENABLE |
23 | #include "i2c_master.h" | 23 | #include "i2c_master.h" |
24 | #include "drivers/led/issi/is31fl3741.h" | 24 | #include "drivers/led/issi/is31fl3741.h" |
25 | const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { | 25 | const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { |
26 | /* Refer to IS31 manual for these locations | 26 | /* Refer to IS31 manual for these locations |
27 | * driver | 27 | * driver |
28 | * | R location | 28 | * | R location |