Skip to content

Commit 78f6af6

Browse files
committed
SLT2 last trial?
1 parent b04d4a5 commit 78f6af6

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

Multiprotocol/Multiprotocol.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#define VERSION_MAJOR 1
2020
#define VERSION_MINOR 3
2121
#define VERSION_REVISION 4
22-
#define VERSION_PATCH_LEVEL 38
22+
#define VERSION_PATCH_LEVEL 39
2323

2424
#define MODE_SERIAL 0
2525

Multiprotocol/SLT_ccnrf.ino

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include "iface_nrf250k.h"
2020

2121
//#define SLT_Q200_FORCE_ID
22-
#define SLT_V1_4_FORCE_ID
22+
//#define SLT_V1_4_FORCE_ID
2323

2424
// For code readability
2525
#define SLT_PAYLOADSIZE_V1 7
@@ -290,13 +290,14 @@ void SLT_init()
290290
/* rx_tx_addr[0]=0x01;rx_tx_addr[1]=0x02;rx_tx_addr[2]=0x0B;rx_tx_addr[3]=0x57;*/
291291
#endif
292292
}
293-
#ifdef SLT_V1_4_FORCE_ID
294-
if(sub_protocol==SLT_V1_4)
295-
{
293+
if(sub_protocol==SLT_V1_4)
294+
{
295+
rx_tx_addr[0]=0xF4;
296+
rx_tx_addr[1]=0x71;
297+
#ifdef SLT_V1_4_FORCE_ID
296298
memcpy(rx_tx_addr,"\xF4\x71\x8D\x01",SLT_TXID_SIZE);
297-
rx_tx_addr[2] += RX_num;
298-
}
299-
#endif
299+
#endif
300+
}
300301
SLT_RF_init();
301302
SLT_set_freq();
302303
phase = SLT_BUILD;

0 commit comments

Comments
 (0)