mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 18:48:11 +00:00
Update H36_nrf24l01.ino
This commit is contained in:
parent
98a54300e0
commit
dbbef9181a
@ -83,8 +83,11 @@ static void __attribute__((unused)) H36_initialize_txid()
|
|||||||
rx_tx_addr[0] = rx_tx_addr[3];
|
rx_tx_addr[0] = rx_tx_addr[3];
|
||||||
calc_fh_channels(4);
|
calc_fh_channels(4);
|
||||||
#ifdef FORCE_H36_ORIGINAL_ID
|
#ifdef FORCE_H36_ORIGINAL_ID
|
||||||
|
if(!RX_num)
|
||||||
|
{
|
||||||
memcpy(rx_tx_addr,(uint8_t *)"\x00\x11\x00",3);
|
memcpy(rx_tx_addr,(uint8_t *)"\x00\x11\x00",3);
|
||||||
memcpy(hopping_frequency,(uint8_t *)"\x36\x3A\x31\x2B",4); //54, 58, 49, 43
|
memcpy(hopping_frequency,(uint8_t *)"\x36\x3A\x31\x2B",4); //54, 58, 49, 43
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user