Revert "Make action_for_key a weak symbol"
This reverts commit c17b8a599e.
The commit made compile error and its intention is unclear.
			
			
This commit is contained in:
		
							parent
							
								
									32abfacbc7
								
							
						
					
					
						commit
						5b46031658
					
				
					 2 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -27,13 +27,8 @@ static action_t keycode_to_action(uint8_t keycode);
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
/* converts key to action */
 | 
			
		||||
__attribute__((__weak__))
 | 
			
		||||
action_t action_for_key(uint8_t layer, keypos_t key)
 | 
			
		||||
{
 | 
			
		||||
	return action_for_key_default(layer, key);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
action_t action_for_key_default(uint8_t layer, keypos_t key)
 | 
			
		||||
    uint8_t keycode = keymap_key_to_keycode(layer, key);
 | 
			
		||||
    switch (keycode) {
 | 
			
		||||
        case KC_FN0 ... KC_FN31:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue