examples/foc: add warning if no controller enabled
This commit is contained in:
parent
5dd4813b34
commit
4c4976a4e9
@ -46,6 +46,10 @@
|
|||||||
# define CONFIG_EXAMPLES_FOC_FIXED16_INST (0)
|
# define CONFIG_EXAMPLES_FOC_FIXED16_INST (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if CONFIG_EXAMPLES_FOC_FLOAT_INST + CONFIG_EXAMPLES_FOC_FIXED16_INST == 0
|
||||||
|
# warning no control thread enabled !
|
||||||
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Extern Functions Prototypes
|
* Extern Functions Prototypes
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user