Works the same until CCP1CON = 0.

Another delay isn't really necessary since it never toggles the LED to begin with.