examples/foc: remove align configuration checks
these are already done when you configure the align routine
This commit is contained in:
parent
fd0da7d4df
commit
c8a4abfcb2
@ -132,17 +132,6 @@
|
|||||||
# define FOC_MODEL_INDQ (0.0002f)
|
# define FOC_MODEL_INDQ (0.0002f)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Motor alignment configuration */
|
|
||||||
|
|
||||||
#ifdef CONFIG_EXAMPLES_FOC_HAVE_ALIGN
|
|
||||||
# if CONFIG_EXAMPLES_FOC_ALIGN_VOLT == 0
|
|
||||||
# error
|
|
||||||
# endif
|
|
||||||
# if CONFIG_EXAMPLES_FOC_ALIGN_SEC == 0
|
|
||||||
# error
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Qenco configuration */
|
/* Qenco configuration */
|
||||||
|
|
||||||
#ifdef CONFIG_EXAMPLES_FOC_HAVE_QENCO
|
#ifdef CONFIG_EXAMPLES_FOC_HAVE_QENCO
|
||||||
|
Loading…
Reference in New Issue
Block a user