| 68 | } |
| 69 | |
| 70 | void RFScan::RCSwitch_Enable_Receive(RCSwitch rcswitch) { |
| 71 | if (bruceConfigPins.rfModule == CC1101_SPI_MODULE) { |
| 72 | rcswitch.enableReceive(bruceConfigPins.CC1101_bus.io0); |
| 73 | } else { |
| 74 | rcswitch.enableReceive(bruceConfigPins.rfRx); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | void RFScan::init_freqs() { |
| 79 | for (int i = 0; i < _MAX_TRIES; i++) { |
nothing calls this directly
no outgoing calls
no test coverage detected