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 "rev1.h"
 | 
			
		||||
 | 
			
		||||
void uart_init(void) {
 | 
			
		||||
    SERIAL_UART_INIT();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void led_init(void) {
 | 
			
		||||
    setPinOutput(D1); // Pin to green, set as output
 | 
			
		||||
    writePinHigh(D1); // Turn it off
 | 
			
		||||
| 
						 | 
				
			
			@ -17,7 +13,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