I solved the problem in a trivial way
What have you solved ?
Your original requirement was to turn 2 LEDs on sequentially with different timing periods. The current code does not do that. Have your requirements changed again ?
I feel like I am chasing shadows here.