Skip to content

Commit 920bd8f

Browse files
raiden00plxiaoxiang781216
authored andcommitted
industrial/foc: add dependences to Kconfig
1 parent e9991bc commit 920bd8f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

industry/foc/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ config INDUSTRY_FOC
77
bool "FOC Library"
88
default n
99
select LIBDSP
10+
depends on MOTOR_FOC
1011
---help---
1112
Enable or disable the FOC Library
1213

@@ -27,6 +28,7 @@ config INDUSTRY_FOC_WARN
2728
config INDUSTRY_FOC_CORDIC
2829
bool "Enable CORDIC support"
2930
default n
31+
depends on MATH_CORDIC
3032
---help---
3133
Enable support for CORDIC hardware acceleration
3234

0 commit comments

Comments
 (0)