From b1f8560509652e5f0c813a329a404946458d206d Mon Sep 17 00:00:00 2001 From: pascallanger Date: Sun, 19 Jan 2025 14:25:21 +0100 Subject: [PATCH] Update Yuxiang_nrf24l01.ino --- Multiprotocol/Yuxiang_nrf24l01.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Multiprotocol/Yuxiang_nrf24l01.ino b/Multiprotocol/Yuxiang_nrf24l01.ino index 63658ce1b..379fb8c6d 100644 --- a/Multiprotocol/Yuxiang_nrf24l01.ino +++ b/Multiprotocol/Yuxiang_nrf24l01.ino @@ -119,7 +119,7 @@ static void __attribute__((unused)) YUXIANG_RF_init() static void __attribute__((unused)) YUXIANG_initialize_txid() { #ifdef YUXIANG_FORCE_ID - if(RX_num==0) + if(rx_tx_addr[3] & 0x01) {//TX1 memcpy(rx_tx_addr,(uint8_t *)"\xB3\x13\x36\xDD",4); //rx_tx_addr[4]=0xD9 memcpy(hopping_frequency,(uint8_t *)"\x49\x32\x35\x42",4);