Remove use of __flash due to LTO issues (#15268)
This commit is contained in:
		
							parent
							
								
									80f91f7b9a
								
							
						
					
					
						commit
						282e916d86
					
				
					 99 changed files with 131 additions and 117 deletions
				
			
		| 
						 | 
				
			
			@ -17,7 +17,7 @@
 | 
			
		|||
#include "mj61.h"
 | 
			
		||||
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
    {0, CS12_SW1, CS11_SW1, CS10_SW1}, /* RGB1 */
 | 
			
		||||
    {0, CS12_SW2, CS11_SW2, CS10_SW2}, /* RGB2 */
 | 
			
		||||
    {0, CS12_SW3, CS11_SW3, CS10_SW3}, /* RGB3 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,7 +19,7 @@
 | 
			
		|||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
const is31_led __flash g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
const is31_led PROGMEM g_is31_leds[DRIVER_LED_TOTAL] = {
 | 
			
		||||
    {0, CS9_SW1,  CS8_SW1,  CS7_SW1},  /* RGB1 */
 | 
			
		||||
    {0, CS9_SW2,  CS8_SW2,  CS7_SW2},  /* RGB3 */
 | 
			
		||||
    {0, CS9_SW3,  CS8_SW3,  CS7_SW3},  /* RGB4 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue