MCPcopy Create free account
hub / github.com/BruceDevices/firmware / RCSwitch_Enable_Receive

Method RCSwitch_Enable_Receive

src/modules/rf/rf_scan.cpp:70–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void 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
78void RFScan::init_freqs() {
79 for (int i = 0; i < _MAX_TRIES; i++) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected