examples/foc: add warning if no controller enabled

This commit is contained in:
raiden00pl 2023-10-10 13:14:51 +02:00 committed by Xiang Xiao
parent 5dd4813b34
commit 4c4976a4e9

View File

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