Skip to content

Commit

Permalink
examples/foc: remove align configuration checks
Browse files Browse the repository at this point in the history
these are already done when you configure the align routine
  • Loading branch information
raiden00pl committed Oct 17, 2023
1 parent 6821195 commit cb4484b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions examples/foc/foc_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cb4484b

Please sign in to comment.