* Disable receiving data */
| 604 | * Disable receiving data |
| 605 | */ |
| 606 | void RCSwitch::disableReceive() { |
| 607 | detachInterrupt(this->nReceiverInterrupt); |
| 608 | this->nReceiverInterrupt = -1; |
| 609 | } |
| 610 | |
| 611 | bool RCSwitch::available() { |
| 612 | return RCSwitch::nReceivedValue != NULL; |