Using Gammon's LED Flasher library with a state machine?

If you don't call update() the led won't flash...