industry/foc: remove choice option for angle observers

This commit is contained in:
raiden00pl 2022-02-19 18:11:53 +01:00 committed by Xiang Xiao
parent c16f1408a6
commit 8422f9c3f9

View File

@ -58,26 +58,17 @@ config INDUSTRY_FOC_ANGLE_OPENLOOP
---help--- ---help---
Enable support for open-loop angle handler Enable support for open-loop angle handler
config INDUSTRY_FOC_ANGLE_OBSERVER config INDUSTRY_FOC_ANGLE_OSMO
bool "FOC angle observer handler" bool "Enable slidmode angle observer"
default n default n
---help--- ---help---
Enable support for observer angle handler Enable support for SMO observer handler
if INDUSTRY_FOC_ANGLE_OBSERVER
choice
prompt "FOC observer type selection"
config INDUSTRY_FOC_ANGLE_OSMO
bool "Enable slidmode observer"
config INDUSTRY_FOC_ANGLE_ONFO config INDUSTRY_FOC_ANGLE_ONFO
bool "Enable fluxlink observer" bool "Enable fluxlink angle observer"
default n
endchoice # FOC observer type selection ---help---
Enable support for NFO observer handler
endif # INDUSTRY_FOC_ANGLE_OBSERVER
config INDUSTRY_FOC_ANGLE_QENCO config INDUSTRY_FOC_ANGLE_QENCO
bool "FOC angle quadrature encoder handler" bool "FOC angle quadrature encoder handler"