Serial refactor (#11521)
This commit is contained in:
		
							parent
							
								
									464eb7137d
								
							
						
					
					
						commit
						5ea92a9c1c
					
				
					 58 changed files with 162 additions and 562 deletions
				
			
		| 
						 | 
				
			
			@ -1,9 +1,5 @@
 | 
			
		|||
#include "centromere.h"
 | 
			
		||||
 | 
			
		||||
void uart_init(void) {
 | 
			
		||||
	SERIAL_UART_INIT();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void led_init(void) {
 | 
			
		||||
#if MCU == atmega32u2
 | 
			
		||||
    setPinOutput(C4); // Set red LED pin as output
 | 
			
		||||
| 
						 | 
				
			
			@ -32,7 +28,6 @@ void matrix_init_kb(void) {
 | 
			
		|||
	// put your keyboard start-up code here
 | 
			
		||||
	// runs once when the firmware starts up
 | 
			
		||||
	matrix_init_user();
 | 
			
		||||
	uart_init();
 | 
			
		||||
	led_init();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue