This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
我想在cla的task7中初始化cla的相关变量。
在main()函数中
ConfigCla();
ConfigEpwm();
ConfigAdc();
这三句话配置cla pwm adc
但是如果把ConfigCla();这句放到最后,为什么task7中不能初始化相关变量,放在第一句可以呢?
感觉很奇怪。