* Restart the ISR (Interrupt Service Routine) state machine, to enable receiving of the next IR frame. * Internal counting of gap timing is independent of StateForISR and therefore independent of call time of resume(). */
| 492 | * Internal counting of gap timing is independent of StateForISR and therefore independent of call time of resume(). |
| 493 | */ |
| 494 | void IRrecv::resume() { |
| 495 | // This check allows to call resume at arbitrary places or more than once |
| 496 | if (irparams.StateForISR == IR_REC_STATE_STOP) { |
| 497 | irparams.StateForISR = IR_REC_STATE_IDLE; |
| 498 | } |
| 499 | } |
| 500 | |
| 501 | /** |
| 502 | * Is internally called by decode before calling decoders. |
no outgoing calls
no test coverage detected