From 8422f9c3f99afde38c2356eb3bf6392436094aa8 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Sat, 19 Feb 2022 18:11:53 +0100 Subject: [PATCH] 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 4431e734c..a6e55c169 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"