mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
setting pinMode for the pin used by RFRecv to INPUT
This commit is contained in:
parent
246e026970
commit
e47c8710fe
@ -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…
x
Reference in New Issue
Block a user