Fixed Pilight can not send on RX pin (#577)
This commit is contained in:
1 parent
bd72075349
commit
0d486633ed
1 file changed
+1
@@ -60,6 +60,7 @@ void setupPilight()
|
||||
#ifndef ZgatewayRF &&ZgatewayRF2 //receiving with Pilight is not compatible with ZgatewayRF or RF2 or RF315 as far as I can tell
|
||||
rf.setCallback(pilightCallback);
|
||||
rf.initReceiver(RF_RECEIVER_PIN);
|
||||
pinMode(RF_EMITTER_PIN, OUTPUT); // Set this here, because if this is the RX pin it was reset to INPUT by Serial.end();
|
||||
Log.notice(F("RF_EMITTER_PIN: %d " CR), RF_EMITTER_PIN);
|
||||
Log.notice(F("RF_RECEIVER_PIN: %d " CR), RF_RECEIVER_PIN);
|
||||
Log.trace(F("ZgatewayPilight setup done " CR));
|
||||
|
||||
Reference in new issue
Block a user