examples/foc/Kconfig: EXAMPLES_FOC_SETPOINT_ADC depends on ADC

This commit is contained in:
raiden00pl 2022-08-15 13:05:07 +02:00 committed by Petro Karashchenko
parent 1f4f338772
commit 13a0d539fe

View File

@ -225,6 +225,7 @@ config EXAMPLES_FOC_SETPOINT_CONST
config EXAMPLES_FOC_SETPOINT_ADC
bool "Use ADC to control setpoint"
depends on ADC
select EXAMPLES_FOC_HAVE_ADC
select EXAMPLES_FOC_HAVE_SETPOINT_VAR