Move disable JTAG code from keyboard_init to keyboard_setup
				
					
				
			This way all split keyboards are using that code instead of just those using split_common with the fix
This commit is contained in:
		
				
					committed by
					
						
						Drashna Jaelre
					
				
			
			
				
	
			
			
			
						parent
						
							5779ffb59a
						
					
				
				
					commit
					a5fa75fcb3
				
			@@ -57,6 +57,8 @@ static inline bool IS_RELEASED(keyevent_t event) { return (!IS_NOEVENT(event) &&
 | 
			
		||||
    .time = (timer_read() | 1)                          \
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void disable_jtag(void);
 | 
			
		||||
 | 
			
		||||
/* it runs once at early stage of startup before keyboard_init. */
 | 
			
		||||
void keyboard_setup(void);
 | 
			
		||||
/* it runs once after initializing host side protocol, debug and MCU peripherals. */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user