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---
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"