irrecord: Refactoring state in get_gap_length() (gap_state).
irrecord: Refactoring state in get_gap_length() (gap_state).

stb-tester/lirc,stb-tester/lirc,stb-tester/lirc,stb-tester/lirc,stb-tester/lirc,stb-tester/lirc