Merge pull request #7236 from bjeram/development
setting pinMode for the pin used by RFRecv to INPUT
This commit is contained in:
commit
1e1b7a3ac2
@ -85,6 +85,7 @@ void RfInit(void)
|
||||
mySwitch.enableTransmit(pin[GPIO_RFSEND]);
|
||||
}
|
||||
if (pin[GPIO_RFRECV] < 99) {
|
||||
pinMode( pin[GPIO_RFRECV], INPUT);
|
||||
mySwitch.enableReceive(pin[GPIO_RFRECV]);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user