AL1 Unable to Compile on Configurator (#3339)
* use QMK_KEYBOARD_H * init_kb and scan_kb need to be in matrix.c to make use of the matrix.h include * Make the routines weak as suggested by Drashna
This commit is contained in:
		
							parent
							
								
									56b5e9f23d
								
							
						
					
					
						commit
						5ef50256d8
					
				
					 3 changed files with 7 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -15,10 +15,12 @@
 | 
			
		|||
 */
 | 
			
		||||
#include "al1.h"
 | 
			
		||||
 | 
			
		||||
__attribute__ ((weak))
 | 
			
		||||
void matrix_init_kb(void) {
 | 
			
		||||
	matrix_init_user();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
__attribute__ ((weak))
 | 
			
		||||
void matrix_scan_kb(void) {
 | 
			
		||||
    matrix_scan_user();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			@ -45,4 +47,4 @@ void led_set_kb(uint8_t usb_led) {
 | 
			
		|||
    else
 | 
			
		||||
        PORTD |=  (1<<1);
 | 
			
		||||
	led_set_user(usb_led);
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue