You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/10/17 14:42:52 UTC
[nuttx-apps] 04/04: examples/foc: remove align configuration checks
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit c8a4abfcb2b463d93071cbd55717be88e1479769
Author: raiden00pl <ra...@railab.me>
AuthorDate: Mon Oct 16 19:19:18 2023 +0200
examples/foc: remove align configuration checks
these are already done when you configure the align routine
---
examples/foc/foc_cfg.h | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/examples/foc/foc_cfg.h b/examples/foc/foc_cfg.h
index ac2e6b3bc..7a59c7c9d 100644
--- a/examples/foc/foc_cfg.h
+++ b/examples/foc/foc_cfg.h
@@ -132,17 +132,6 @@
# define FOC_MODEL_INDQ (0.0002f)
#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 */
#ifdef CONFIG_EXAMPLES_FOC_HAVE_QENCO