examples/foc: remove align configuration checks

these are already done when you configure the align routine
This commit is contained in:
raiden00pl 2023-10-16 19:19:18 +02:00 committed by Xiang Xiao
parent fd0da7d4df
commit c8a4abfcb2

View File

@ -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