1
0
Fork 0

Generalise ADC driver source inclusion (#22448)

This commit is contained in:
Joel Challis 2023-11-12 22:30:27 +00:00 committed by GitHub
parent 786ebf8760
commit e884e42ce9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 69 additions and 43 deletions

View file

@ -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