Various compilation fixes for avr-gcc 10 (#9269)
This commit is contained in:
		
							parent
							
								
									6ea4b06f9f
								
							
						
					
					
						commit
						a9f7d4dccc
					
				
					 9 changed files with 33 additions and 42 deletions
				
			
		| 
						 | 
				
			
			@ -208,8 +208,6 @@ uint32_t layer_state_set_kb(uint32_t state) {
 | 
			
		|||
	
 | 
			
		||||
	if (is_keyboard_master())
 | 
			
		||||
	{
 | 
			
		||||
		
 | 
			
		||||
		current_layer = biton32(state);
 | 
			
		||||
		serial_m2s_buffer.current_layer = biton32(state);
 | 
			
		||||
		
 | 
			
		||||
		// If left half, do the LED toggle thing
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,8 +56,6 @@
 | 
			
		|||
	{ R40,   R41,   R42,   R43,   R44,   R45, KC_NO }  \
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
uint8_t current_layer;
 | 
			
		||||
 | 
			
		||||
extern void led_toggle(int id, bool on);
 | 
			
		||||
void set_all_leds(bool leds[6]);
 | 
			
		||||
extern void set_layer_indicators(uint8_t layer);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue