Function works without declaration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Function works without declaration

769 次查看
kathirkamuannak
Contributor II


I am using MC9s08pa16 for my bldc motor project with code warrior v 10.6. I have rpm control function in my project. do_rpm_calc is  my function. I have defined the function as do_rpm_calc but i ve declared it as do_calc_rpm. My code works fine and compiler doesnt throw the error. I have created .SAP file and gave it to the production. Will there be any problem in the future?. Why the compiler doesnt throw the error?. How come the code works fine?

 

Thanks

A.Kathirkamu

标签 (1)
标记 (2)
0 项奖励
回复
1 回复

713 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

Hi

I believe that the code is not working properly

Would be possible that you send me your project, if you can not share on the community your code, you can create a case request on the nxp web page and send the project on it and it will be private.

Regards

Vicente

0 项奖励
回复