This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Error removing a function

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).

Parents
  • Well, the t function is not called. It is a dummy function actually.
    There is no error in the link. The .hex file is generated, but no functionality of the system works. Neither blinking LED, nor others like uart communication.
    I use RTC RAM to store some important data. But it should not interfere the system working at this point.
    When I simulate the code in Keil it works. However, when I load the .hex file ...

Reply
  • Well, the t function is not called. It is a dummy function actually.
    There is no error in the link. The .hex file is generated, but no functionality of the system works. Neither blinking LED, nor others like uart communication.
    I use RTC RAM to store some important data. But it should not interfere the system working at this point.
    When I simulate the code in Keil it works. However, when I load the .hex file ...

Children