Update ZgatewayPilight.ino (#1202)
This commit is contained in:
1 parent
141e33e7c6
commit
8d902962e5
1 file changed
+1
@@ -226,5 +226,6 @@ extern void enablePilightReceive() {
|
|||||||
rf.setCallback(pilightCallback);
|
rf.setCallback(pilightCallback);
|
||||||
rf.initReceiver(RF_RECEIVER_GPIO);
|
rf.initReceiver(RF_RECEIVER_GPIO);
|
||||||
pinMode(RF_EMITTER_GPIO, OUTPUT); // Set this here, because if this is the RX pin it was reset to INPUT by Serial.end();
|
pinMode(RF_EMITTER_GPIO, OUTPUT); // Set this here, because if this is the RX pin it was reset to INPUT by Serial.end();
|
||||||
|
rf.enableReceiver();
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
Reference in new issue
Block a user