之前在编写的时候运行还是正常的,加入了SVPWM模块后,就出现了不能使用类型(*)(long)”来初始化的问题,请问该怎么解决?
以下是附件,谢谢!
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.
之前在编写的时候运行还是正常的,加入了SVPWM模块后,就出现了不能使用类型(*)(long)”来初始化的问题,请问该怎么解决?
以下是附件,谢谢!
同样的定义方式和调用函数,其他几个为什么没有出错呢,该如何修改呢,在哪添加强制转换?
这个是程序的头文件,定义的结构和指向函数的指针,如果把long换成float或者double都一样会报错,请大神指导。
leping yao,感谢您的分享!
Please mark this post as answered via the Verify Answer button。