From c8a4abfcb2b463d93071cbd55717be88e1479769 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Mon, 16 Oct 2023 19:19:18 +0200 Subject: [PATCH] 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