Fix error: 'CONFIG_MOTOR_FOC_PHASES' undeclared here

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-01-06 23:13:24 +08:00 committed by Xiang Xiao
parent bbf5511e3a
commit 26d6f04d74

View File

@ -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 */