mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-03-15 12:59:09 +00:00
SLT2 last trial?
This commit is contained in:
parent
b04d4a54f7
commit
78f6af6448
@ -19,7 +19,7 @@
|
||||
#define VERSION_MAJOR 1
|
||||
#define VERSION_MINOR 3
|
||||
#define VERSION_REVISION 4
|
||||
#define VERSION_PATCH_LEVEL 38
|
||||
#define VERSION_PATCH_LEVEL 39
|
||||
|
||||
#define MODE_SERIAL 0
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include "iface_nrf250k.h"
|
||||
|
||||
//#define SLT_Q200_FORCE_ID
|
||||
#define SLT_V1_4_FORCE_ID
|
||||
//#define SLT_V1_4_FORCE_ID
|
||||
|
||||
// For code readability
|
||||
#define SLT_PAYLOADSIZE_V1 7
|
||||
@ -290,13 +290,14 @@ void SLT_init()
|
||||
/* rx_tx_addr[0]=0x01;rx_tx_addr[1]=0x02;rx_tx_addr[2]=0x0B;rx_tx_addr[3]=0x57;*/
|
||||
#endif
|
||||
}
|
||||
#ifdef SLT_V1_4_FORCE_ID
|
||||
if(sub_protocol==SLT_V1_4)
|
||||
{
|
||||
if(sub_protocol==SLT_V1_4)
|
||||
{
|
||||
rx_tx_addr[0]=0xF4;
|
||||
rx_tx_addr[1]=0x71;
|
||||
#ifdef SLT_V1_4_FORCE_ID
|
||||
memcpy(rx_tx_addr,"\xF4\x71\x8D\x01",SLT_TXID_SIZE);
|
||||
rx_tx_addr[2] += RX_num;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
SLT_RF_init();
|
||||
SLT_set_freq();
|
||||
phase = SLT_BUILD;
|
||||
|
Loading…
x
Reference in New Issue
Block a user