* Returns true if IR receiver has received a complete IR frame (detected by timeout after last mark). */
| 537 | * Returns true if IR receiver has received a complete IR frame (detected by timeout after last mark). |
| 538 | */ |
| 539 | bool IRrecv::available() { |
| 540 | return (irparams.StateForISR == IR_REC_STATE_STOP); |
| 541 | } |
| 542 | |
| 543 | /** |
| 544 | * Returns pointer to IrReceiver.decodedIRData if IR receiver data is available, else nullptr. |
nothing calls this directly
no outgoing calls
no test coverage detected