diff options
Diffstat (limited to 'components/drivers/input/joystick/SConscript')
| -rw-r--r-- | components/drivers/input/joystick/SConscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/input/joystick/SConscript b/components/drivers/input/joystick/SConscript index 1b68c7eb65..288a9c5dfe 100644 --- a/components/drivers/input/joystick/SConscript +++ b/components/drivers/input/joystick/SConscript @@ -10,6 +10,9 @@ CPPPATH = [cwd + '/../../include'] src = [] +if GetDepend(['RT_INPUT_JOYSTICK_ADC']): + src += ['js-adc.c'] + group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH) Return('group') |
