Fix error: 'CONFIG_MOTOR_FOC_PHASES' undeclared here
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
bbf5511e3a
commit
26d6f04d74
@ -33,6 +33,8 @@
|
||||
|
||||
#include <fixedmath.h>
|
||||
|
||||
#ifdef CONFIG_MOTOR_FOC
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
@ -153,4 +155,5 @@ int foc_register(FAR const char *path, FAR struct foc_dev_s *dev);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_MOTOR_FOC */
|
||||
#endif /* __INCLUDE_NUTTX_MOTOR_FOC_FOC_H */
|
||||
|
Loading…
Reference in New Issue
Block a user