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/02/19 23:36:45 UTC

[incubator-nuttx-apps] 04/05: industry/foc: remove choice option for angle observers

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 8422f9c3f99afde38c2356eb3bf6392436094aa8
Author: raiden00pl <ra...@railab.me>
AuthorDate: Sat Feb 19 18:11:53 2022 +0100

    industry/foc: remove choice option for angle observers
---
 industry/foc/Kconfig | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/industry/foc/Kconfig b/industry/foc/Kconfig
index 4431e73..a6e55c1 100644
--- a/industry/foc/Kconfig
+++ b/industry/foc/Kconfig
@@ -58,26 +58,17 @@ config INDUSTRY_FOC_ANGLE_OPENLOOP
 	---help---
 		Enable support for open-loop angle handler
 
-config INDUSTRY_FOC_ANGLE_OBSERVER
-	bool "FOC angle observer handler"
+config INDUSTRY_FOC_ANGLE_OSMO
+	bool "Enable slidmode angle observer"
 	default n
 	---help---
-		Enable support for observer angle handler
-
-if INDUSTRY_FOC_ANGLE_OBSERVER
-
-choice
-	prompt "FOC observer type selection"
-
-config INDUSTRY_FOC_ANGLE_OSMO
-	bool "Enable slidmode observer"
+		Enable support for SMO observer handler
 
 config INDUSTRY_FOC_ANGLE_ONFO
-	bool "Enable fluxlink observer"
-
-endchoice # FOC observer type selection
-
-endif # INDUSTRY_FOC_ANGLE_OBSERVER
+	bool "Enable fluxlink angle observer"
+	default n
+	---help---
+		Enable support for NFO observer handler
 
 config INDUSTRY_FOC_ANGLE_QENCO
 	bool "FOC angle quadrature encoder handler"