examples/foc: allow sensored velocity mode
This commit is contained in:
parent
ac64c7d144
commit
3c541c496b
@ -33,14 +33,6 @@
|
|||||||
* Pre-processor Definitions
|
* 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 */
|
/* For now only sensorless velocity control supported */
|
||||||
|
|
||||||
#ifdef CONFIG_EXAMPLES_FOC_SENSORLESS
|
#ifdef CONFIG_EXAMPLES_FOC_SENSORLESS
|
||||||
|
Loading…
Reference in New Issue
Block a user