* Enable receiving data */
| 588 | * Enable receiving data |
| 589 | */ |
| 590 | void RCSwitch::enableReceive(int interrupt) { |
| 591 | this->nReceiverInterrupt = interrupt; |
| 592 | this->enableReceive(); |
| 593 | } |
| 594 | |
| 595 | void RCSwitch::enableReceive() { |
| 596 | if (this->nReceiverInterrupt != -1) { |