firmware: stop_pulses command when FPS is 0
hack backwards compatibility with old trigger stuff
more robust waiting for time model