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

More questions in this forum