mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 22:38:14 +00:00
Update XN297Dump_nrf24l01.ino
This commit is contained in:
parent
9356e7654e
commit
2501656bf4
@ -259,6 +259,7 @@ static uint16_t XN297Dump_callback()
|
|||||||
}
|
}
|
||||||
debugln("");
|
debugln("");
|
||||||
/*******/
|
/*******/
|
||||||
|
#ifdef XERALL
|
||||||
packet_sent++;
|
packet_sent++;
|
||||||
//if(packet_sent==0)
|
//if(packet_sent==0)
|
||||||
{
|
{
|
||||||
@ -277,6 +278,7 @@ static uint16_t XN297Dump_callback()
|
|||||||
NRF24L01_WriteReg(NRF24L01_03_SETUP_AW, 0x01); // 3 bytes RX/TX address
|
NRF24L01_WriteReg(NRF24L01_03_SETUP_AW, 0x01); // 3 bytes RX/TX address
|
||||||
NRF24L01_WriteRegisterMulti(NRF24L01_0A_RX_ADDR_P0, (uint8_t*)"\x55\x0F\x71", 3); // set up RX address to xn297 preamble
|
NRF24L01_WriteRegisterMulti(NRF24L01_0A_RX_ADDR_P0, (uint8_t*)"\x55\x0F\x71", 3); // set up RX address to xn297 preamble
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
/*******/
|
/*******/
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user