Unconditionally call led_init_ports (#12116)
* Unconditionally call led_init_ports * Another call to led_init_ports
This commit is contained in:
		
							parent
							
								
									2bc7511b9e
								
							
						
					
					
						commit
						3f419dc872
					
				
					 30 changed files with 20 additions and 215 deletions
				
			
		| 
						 | 
				
			
			@ -1,19 +1,6 @@
 | 
			
		|||
#include "rev3.h"
 | 
			
		||||
#include "led.h"
 | 
			
		||||
 | 
			
		||||
void matrix_init_kb(void) {
 | 
			
		||||
	// put your keyboard start-up code here
 | 
			
		||||
	// runs once when the firmware starts up
 | 
			
		||||
	matrix_init_user();
 | 
			
		||||
	led_init_ports();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void matrix_scan_kb(void) {
 | 
			
		||||
	// put your looping keyboard code here
 | 
			
		||||
	// runs every cycle (a lot)
 | 
			
		||||
	matrix_scan_user();
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
void led_init_ports(void) {
 | 
			
		||||
    // * Set our LED pins as output
 | 
			
		||||
    DDRE |= (1 << 6);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue