Use define

This commit is contained in:
pascallanger 2017-01-24 16:53:57 +01:00
parent 6c38b54f7d
commit 26e3119ef3

View File

@ -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;