We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I have a function in my code which has its content commented. So it does nothing. When a I remove this function the system no longer works (the LED was blinking and now is turned off).
Note that the original poster never says that the program runs. Just that it doesn't work anymore.
What is the name of this removed function? It may be a function that the CRTL has a default implementation of, so removing the function will result in another function with the same name being linked into the application - a function that does something not compatible with the rest of the program.
A big question here is what differences the function removal has to the information in the link map file. Will the map file show that there are no longer a function with this name, and all following functions having their start address reduced with a few bytes?
Another thing - do you have a debugger? Or have you tried to run the application in the simulator? Will it enter main()?