Skip to content

Commit

Permalink
Update H36_nrf24l01.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
pascallanger committed Jan 28, 2025
1 parent 98a5430 commit dbbef91
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Multiprotocol/H36_nrf24l01.ino
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,11 @@ static void __attribute__((unused)) H36_initialize_txid()
rx_tx_addr[0] = rx_tx_addr[3];
calc_fh_channels(4);
#ifdef FORCE_H36_ORIGINAL_ID
memcpy(rx_tx_addr,(uint8_t *)"\x00\x11\x00",3);
memcpy(hopping_frequency,(uint8_t *)"\x36\x3A\x31\x2B",4); //54, 58, 49, 43
if(!RX_num)
{
memcpy(rx_tx_addr,(uint8_t *)"\x00\x11\x00",3);
memcpy(hopping_frequency,(uint8_t *)"\x36\x3A\x31\x2B",4); //54, 58, 49, 43
}
#endif
}

Expand Down

0 comments on commit dbbef91

Please sign in to comment.