mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 03:36:42 +00:00
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]);
|
mySwitch.enableTransmit(pin[GPIO_RFSEND]);
|
||||||
}
|
}
|
||||||
if (pin[GPIO_RFRECV] < 99) {
|
if (pin[GPIO_RFRECV] < 99) {
|
||||||
|
pinMode( pin[GPIO_RFRECV], INPUT);
|
||||||
mySwitch.enableReceive(pin[GPIO_RFRECV]);
|
mySwitch.enableReceive(pin[GPIO_RFRECV]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user