Function works without declaration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Function works without declaration

342 Views
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

Labels (1)
0 Kudos
1 Reply

286 Views
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 Kudos