Function works without declaration

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Function works without declaration

776件の閲覧回数
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 返信

720件の閲覧回数
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 件の賞賛
返信