mirror of
https://github.com/Cian-H/qmk_firmware.git
synced 2025-12-22 22:21:58 +00:00
Generalise ADC driver source inclusion (#22448)
This commit is contained in:
@@ -19,5 +19,6 @@ MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
ENCODER_ENABLE := no
|
||||
OPTS_DEF += -DENCODER_ENABLE
|
||||
|
||||
QUANTUM_LIB_SRC += analog.c
|
||||
ANALOG_DRIVER_REQUIRED = yes
|
||||
|
||||
SRC += opt_encoder.c
|
||||
|
||||
@@ -19,7 +19,8 @@ MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
ENCODER_ENABLE := no
|
||||
OPTS_DEF += -DENCODER_ENABLE
|
||||
|
||||
QUANTUM_LIB_SRC += analog.c
|
||||
ANALOG_DRIVER_REQUIRED = yes
|
||||
|
||||
SRC += opt_encoder.c
|
||||
|
||||
DEFAULT_FOLDER = ploopyco/trackball/rev1_005
|
||||
|
||||
@@ -16,7 +16,8 @@ MOUSEKEY_ENABLE = yes # Mouse keys
|
||||
ENCODER_ENABLE := no
|
||||
OPTS_DEF += -DENCODER_ENABLE
|
||||
|
||||
QUANTUM_LIB_SRC += analog.c
|
||||
ANALOG_DRIVER_REQUIRED = yes
|
||||
|
||||
SRC += opt_encoder.c
|
||||
|
||||
DEFAULT_FOLDER = ploopyco/trackball_mini/rev1_001
|
||||
|
||||
@@ -3,7 +3,8 @@ F_CPU = 8000000
|
||||
|
||||
POINTING_DEVICE_DRIVER = pmw3360
|
||||
|
||||
QUANTUM_LIB_SRC += analog.c
|
||||
ANALOG_DRIVER_REQUIRED = yes
|
||||
|
||||
SRC += opt_encoder.c
|
||||
|
||||
DEFAULT_FOLDER = ploopyco/trackball_thumb/rev1_001
|
||||
|
||||
Reference in New Issue
Block a user