Generalise ADC driver source inclusion (#22448)
This commit is contained in:
		
							parent
							
								
									786ebf8760
								
							
						
					
					
						commit
						e884e42ce9
					
				
					 35 changed files with 69 additions and 43 deletions
				
			
		| 
						 | 
				
			
			@ -14,9 +14,9 @@ ifeq ($(strip $(OLED_ENABLE)), yes)
 | 
			
		|||
endif
 | 
			
		||||
 | 
			
		||||
ifeq ($(strip $(THUMBSTICK_ENABLE)), yes)
 | 
			
		||||
    ANALOG_DRIVER_REQUIRED = yes
 | 
			
		||||
    POINTING_DEVICE_ENABLE = yes
 | 
			
		||||
    POINTING_DEVICE_DRIVER = custom
 | 
			
		||||
    OPT_DEFS += -DTHUMBSTICK_ENABLE
 | 
			
		||||
	SRC += analog.c
 | 
			
		||||
	SRC += thumbstick.c
 | 
			
		||||
endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue