examples/foc: don't raise error when EXAMPLES_FOC_IPHASE_ADC isn't set

This is the first step towards getting rid of CONFIG_EXAMPLES_FOC_IPHASE_ADC completely
This commit is contained in:
raiden00pl 2023-11-14 09:26:16 +01:00 committed by Xiang Xiao
parent eeacbdde3a
commit 32a8c29753

View File

@ -75,12 +75,6 @@
# error CONFIG_EXAMPLES_FOC_RAMP_DEC not configured
#endif
/* ADC Iphase ratio must be provided */
#if (CONFIG_EXAMPLES_FOC_IPHASE_ADC == 0)
# error
#endif
/* Motor identification support */
#ifdef CONFIG_EXAMPLES_FOC_HAVE_IDENT