diff options
author | Joel Challis <git@zvecr.com> | 2021-11-24 07:38:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 18:38:49 +1100 |
commit | 282e916d86a5d353b7cbdfef3afad3c7b011eb14 (patch) | |
tree | d711831ca1accadede43c38bc1bcd91d73ad3dc9 /keyboards/k_type | |
parent | 80f91f7b9aa8987d4594a466d2348830b1c32dc2 (diff) | |
download | qmk_firmware-282e916d86a5d353b7cbdfef3afad3c7b011eb14.tar.gz qmk_firmware-282e916d86a5d353b7cbdfef3afad3c7b011eb14.zip |
Remove use of __flash due to LTO issues (#15268)
Diffstat (limited to 'keyboards/k_type')
-rw-r--r-- | keyboards/k_type/is31fl3733-dual.h | 2 | ||||
-rw-r--r-- | keyboards/k_type/k_type.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/k_type/is31fl3733-dual.h b/keyboards/k_type/is31fl3733-dual.h index aab170a3fd..ea45a70867 100644 --- a/keyboards/k_type/is31fl3733-dual.h +++ b/keyboards/k_type/is31fl3733-dual.h @@ -28,7 +28,7 @@ typedef struct is31_led { uint8_t b; } __attribute__((packed)) is31_led; -extern const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL]; +extern const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL]; void IS31FL3733_init(uint8_t bus, uint8_t addr, uint8_t sync); 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 924862277f..29e7fa57b2 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/>. #include "is31fl3733-dual.h" -const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = { +const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = { { 0, B_1, A_1, C_1 }, { 0, B_2, A_2, C_2 }, { 0, B_3, A_3, C_3 }, |