examples/foc: allow sensored velocity mode

This commit is contained in:
raiden00pl 2023-11-07 17:53:25 +01:00 committed by Xiang Xiao
parent ac64c7d144
commit 3c541c496b

View File

@ -33,14 +33,6 @@
* Pre-processor Definitions
****************************************************************************/
/* For now only torque mode supported for sensored */
#ifdef CONFIG_EXAMPLES_FOC_SENSORED
# ifndef CONFIG_EXAMPLES_FOC_HAVE_TORQ
# error
# endif
#endif
/* For now only sensorless velocity control supported */
#ifdef CONFIG_EXAMPLES_FOC_SENSORLESS