[RF] Disable the active RF receive when transmitting with RC-Switch and NewRemoteTransmitter\n (#2084)
Pilight RF transmit is behaving this way already.
This commit is contained in:
1 parent
f5bca0054e
commit
e2641f49e7
2 files changed
+5
-5
No files matched your search
+1
-1
@@ -238,8 +238,8 @@ void XtoRF(const char* topicOri, JsonObject& RFdata) { // json object decoding
|
||||
Log.notice(F("RF Protocol:%d" CR), valuePRT);
|
||||
Log.notice(F("RF Pulse Lgth: %d" CR), valuePLSL);
|
||||
Log.notice(F("Bits nb: %d" CR), valueBITS);
|
||||
# ifdef ZradioCC1101
|
||||
disableCurrentReceiver();
|
||||
# ifdef ZradioCC1101
|
||||
initCC1101();
|
||||
int txPower = RFdata["txpower"] | RF_CC1101_TXPOWER;
|
||||
ELECHOUSE_cc1101.setPA((int)txPower);
|
||||
|
||||
Reference in new issue
Block a user