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:
parent
eeacbdde3a
commit
32a8c29753
@ -75,12 +75,6 @@
|
|||||||
# error CONFIG_EXAMPLES_FOC_RAMP_DEC not configured
|
# error CONFIG_EXAMPLES_FOC_RAMP_DEC not configured
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ADC Iphase ratio must be provided */
|
|
||||||
|
|
||||||
#if (CONFIG_EXAMPLES_FOC_IPHASE_ADC == 0)
|
|
||||||
# error
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Motor identification support */
|
/* Motor identification support */
|
||||||
|
|
||||||
#ifdef CONFIG_EXAMPLES_FOC_HAVE_IDENT
|
#ifdef CONFIG_EXAMPLES_FOC_HAVE_IDENT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user