Convert some AVR GPIO operations to macros (#23424)
This commit is contained in:
		
							parent
							
								
									7220715dd1
								
							
						
					
					
						commit
						61c7c1f74c
					
				
					 71 changed files with 877 additions and 840 deletions
				
			
		| 
						 | 
				
			
			@ -99,8 +99,8 @@ led_config_t g_led_config = { {
 | 
			
		|||
void matrix_init_kb(void) {
 | 
			
		||||
 | 
			
		||||
    // Turn status LED on
 | 
			
		||||
    DDRD |= (1<<6);
 | 
			
		||||
    PORTD |= (1<<6);
 | 
			
		||||
    gpio_set_pin_output(D6);
 | 
			
		||||
    gpio_write_pin_high(D6);
 | 
			
		||||
 | 
			
		||||
    matrix_init_user();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue