mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 21:08:12 +00:00
Use define
This commit is contained in:
parent
6c38b54f7d
commit
26e3119ef3
@ -143,7 +143,7 @@ static void __attribute__((unused)) ASSAN_initialize_txid()
|
|||||||
packet[20]=0x53; */
|
packet[20]=0x53; */
|
||||||
// Using packet[20..23] to store the ID1 and packet[24..27] to store the ID2
|
// Using packet[20..23] to store the ID1 and packet[24..27] to store the ID2
|
||||||
uint8_t freq=0,freq2;
|
uint8_t freq=0,freq2;
|
||||||
for(uint8_t i=0;i<4;i++)
|
for(uint8_t i=0;i<ASSAN_ADDRESS_LENGTH;i++)
|
||||||
{
|
{
|
||||||
uint8_t temp=rx_tx_addr[i];
|
uint8_t temp=rx_tx_addr[i];
|
||||||
packet[i+20]=temp;
|
packet[i+20]=temp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user