The actual amount there would vary, depending on compiler mode as well as if LED_DLY is a constant or variable - looking at the disassembly would help determine that.this old code introduces 3us period error
I typically do this:
Code:
TMR0+=-LED_DLY+TMR_ERRORTERM; //where TMR_ERRORTERM is 2 - 4 depending on the disassembly