Migrate features and LTO from rules.mk to data driven (#23302)
This commit is contained in:
		
							parent
							
								
									86e7df0c2a
								
							
						
					
					
						commit
						426bb9c651
					
				
					 291 changed files with 1763 additions and 2023 deletions
				
			
		| 
						 | 
				
			
			@ -384,6 +384,12 @@ def _extract_encoders(info_data, config_c):
 | 
			
		|||
 | 
			
		||||
        info_data['encoder']['rotary'] = encoders
 | 
			
		||||
 | 
			
		||||
    # TODO: some logic still assumes ENCODER_ENABLED would partially create encoder dict
 | 
			
		||||
    if info_data.get('features', {}).get('encoder', False):
 | 
			
		||||
        if 'encoder' not in info_data:
 | 
			
		||||
            info_data['encoder'] = {}
 | 
			
		||||
        info_data['encoder']['enabled'] = True
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
def _extract_split_encoders(info_data, config_c):
 | 
			
		||||
    """Populate data about split encoder pins
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue