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 2022/11/03 18:07:26 UTC

[incubator-nuttx-apps] 05/06: examples/foc/Kconfig: update EXAMPLES_FOC_MMODE range

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/incubator-nuttx-apps.git

commit 682cac07d9e72f0dc25e477c2ef802ca238fc3c7
Author: raiden00pl <ra...@railab.me>
AuthorDate: Sat Oct 22 13:42:07 2022 +0200

    examples/foc/Kconfig: update EXAMPLES_FOC_MMODE range
---
 examples/foc/Kconfig | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/examples/foc/Kconfig b/examples/foc/Kconfig
index ade011557..70aedd380 100644
--- a/examples/foc/Kconfig
+++ b/examples/foc/Kconfig
@@ -315,11 +315,13 @@ config EXAMPLES_FOC_FMODE
 config EXAMPLES_FOC_MMODE
 	int "Motor control mode"
 	default 2
-	range 1 3
+	range 1 5
 	---help---
 		1 - torque control
 		2 - velocity control
 		3 - position control
+		4 - align only
+		5 - ident only
 
 config EXAMPLES_FOC_OPENLOOP_Q
 	int "FOC open-loop Vq/Iq setting [x1000]"