Skip to content

Commit

Permalink
Update Yuxiang_nrf24l01.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
pascallanger committed Jan 19, 2025
1 parent 50c1831 commit b1f8560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Multiprotocol/Yuxiang_nrf24l01.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b1f8560

Please sign in to comment.