Serial Interrupts

I have a code that works with interrupts received from serial input. The problem is the interrupts only act when the code is inside the main Loop{}. When a subroutine is running, the interrupts would not be recognized. Could someone help me fix this?

mbonakdar1982:
I have a code that works with interrupts received from serial input. The problem is the interrupts only act when the code is inside the main Loop{}. When a subroutine is running, the interrupts would not be recognized. Could someone help me fix this?

You statement relating to interrupts not working in a subroutine makes no sense. Perhaps seeing what your code looks like would help. DO you have "delay" in the subroutine?

Paul

Could someone help me fix this?

My crystal ball says you need to delete line 785897858 and modify line -52845.