mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
Fix error: 'CONFIG_MOTOR_FOC_PHASES' undeclared here
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -33,6 +33,8 @@
|
|||||||
|
|
||||||
#include <fixedmath.h>
|
#include <fixedmath.h>
|
||||||
|
|
||||||
|
#ifdef CONFIG_MOTOR_FOC
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@@ -153,4 +155,5 @@ int foc_register(FAR const char *path, FAR struct foc_dev_s *dev);
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif /* CONFIG_MOTOR_FOC */
|
||||||
#endif /* __INCLUDE_NUTTX_MOTOR_FOC_FOC_H */
|
#endif /* __INCLUDE_NUTTX_MOTOR_FOC_FOC_H */
|
||||||
|
|||||||
Reference in New Issue
Block a user