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
				
			
		| 
						 | 
				
			
			@ -27,7 +27,7 @@ typedef struct ckled2001_led {
 | 
			
		|||
    uint8_t b;
 | 
			
		||||
} __attribute__((packed)) ckled2001_led;
 | 
			
		||||
 | 
			
		||||
extern const ckled2001_led __flash g_ckled2001_leds[DRIVER_LED_TOTAL];
 | 
			
		||||
extern const ckled2001_led PROGMEM g_ckled2001_leds[DRIVER_LED_TOTAL];
 | 
			
		||||
 | 
			
		||||
void CKLED2001_init(uint8_t addr);
 | 
			
		||||
bool CKLED2001_write_register(uint8_t addr, uint8_t reg, uint8_t data);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue